首页 | 本学科首页   官方微博 | 高级检索  
     检索      

任务栏图标弹出菜单程序设计技术
引用本文:姚琏,李响.任务栏图标弹出菜单程序设计技术[J].安阳工学院学报,2006(1):57-58.
作者姓名:姚琏  李响
作者单位:安阳工学院,电气工程系,河南,安阳,455000;安阳工学院,电气工程系,河南,安阳,455000
摘    要:在应用程序中往往需要将当前运行的应用窗口放入系统状态任务栏,以免用户不小心关闭应用程序,引起不必要的错误。在主窗口的resize事件中使用WindowsAPI函数可实现将应用图标放入任务状态栏,需要对窗口操作时,通过弹出式菜单中加入的“还原”菜单项,执行窗口还原代码,实现窗口还原。

关 键 词:任务状态栏  弹出菜单  PowerBuilder
文章编号:1673-2928(2006)01-0057-02
收稿时间:2005-06-15
修稿时间:2005年6月15日

Programming Technology of System Tray and Popup Menu
YAO Lian.Programming Technology of System Tray and Popup Menu[J].Journal of Anyang Institute of Technology,2006(1):57-58.
Authors:YAO Lian
Abstract:It is necessary to adding application program icon to system tray, when application program window is minimized. So avoid error by incautious operation. We can add an application program icon to system tray by use Windows API function in "resize" event. Using "resume" in popup menu and its code, restoring application program window, when it is required.
Keywords:system tray  popup menu  PowerBuilder
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号