检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海商学院,上海200235
出 处:《计算机工程与设计》2008年第9期2429-2430,F0003,共3页Computer Engineering and Design
基 金:上海高校选拔培养优秀青年教师科研专项基金项目(05-E-17)
摘 要:Visual Basic 6.0中使用"菜单编辑器"只能创建"平面"菜单,要得到附带图标、界面美观的菜单,需要调用API函数进行自绘菜单,而主菜单与下拉式菜单的触发事件不一样,需要响应不同的消息,使绘制的复杂性大大增加。在具体绘制过程中,首先确定消息机制,然后选取合适的API函数菜,对于菜单中经常使用的方框线条等基本图形先构造绘图函数,通过主函数调用绘图函数的方式来简化问题的复杂性,巧妙地实现了自绘菜单的期望效果。Using "the menu editor" in Visual Basic 6.0 can only establish "the plane" menu. If you want to get beautiful interface menu with additional icon, you should transfer API function in windows for drawing the menus. Usually there are two different menus, main menu and down menu. Because these two menus respond to different accidents, drawing menu will be a complicate task. For a particular menu drawing, first, message should be confirmed, and then adaptable API function should be selected. There are many basic graphics, such as rectangle, line, and so on. Through constructing basic graphic drawing function, it will be very simple that main function transferring these basic graphics drawing function with the expected effect.
分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249