问题描述
- c++如何让程序图标不在任务栏里显示
-
如题, 如何让程序图标不在任务栏里显示,而是显示在工具栏中,就是有点像QQ那种感觉。跪求大神指点。注意不要MFC
解决方案
给窗口加上WS_EX_TOOLWINDOW风格
解决方案二:
微软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.
时间: 2024-10-28 09:02:56