2 gj5544 gj5544 于 2016.02.13 15:17 提问

c++如何让程序图标不在任务栏里显示

如题, 如何让程序图标不在任务栏里显示,而是显示在工具栏中,就是有点像QQ那种感觉。跪求大神指点。注意不要MFC

2个回答

zuishikonghuan
zuishikonghuan   2016.02.13 15:32
已采纳

给窗口加上WS_EX_TOOLWINDOW风格

zuishikonghuan
zuishikonghuan   2016.02.13 15:34

微软MSDN: The window is intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by right-clicking or by typing ALT+SPACE.

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!