摘要
通过实例介绍了用Visual C++6.0创建大、小图标自动切换的工具栏的方法.一般情况下,工具栏为小图标状态,当鼠标指针移动到工具栏上时,自动切换为大图标状态,当鼠标指针回到客户区时,又自动切换为小图标状态;同时可固定在大图标或小图标状态,或隐藏工具栏.这样既能最大限度地将视窗空间留给客户区,又能在需要的时候提高视觉清晰度和易操作度.
A method of developing toolbars that can toggle automatically between small icon state and big icon state is presented with a Visual C ++ 6.0 example. Generally,the toolbar is in small icon state. When the cursor is moved into the toolbar area,it toggles to big icon state automatically. When the cursor is moved into the client area,it toggles to small icon state as before. Also, the toolbar can hold its small icon state or big icon state without change,or can be hided. This kind of toolbars can leave as more window space as possible to client area ,and provide as high visual clarity and operational easiness as possible when necessary.
出处
《华北水利水电学院学报》
2008年第2期59-61,共3页
North China Institute of Water Conservancy and Hydroelectric Power
关键词
工具栏
大图标
小图标
自动切换
toolbar
big icon
small icon
automatic toggle