Task Bar problem
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hide the main window. In MFC this will do the trick:
AfxGetMainWnd()->ShowWindow(SW_HIDE)
Of course, you won't be able to interact with the app while it's hidden unless you provide a means of making it visible or allowing it do display a context menu. A common convention here is do add an icon to the system tray while the app is hidden. Anna :rose: Homepage | My life in tears "Be yourself - not what others think you should be" - Marcia Graesch "Anna's just a sexy-looking lesbian tart" - A friend, trying to wind me up. It didn't work. Trouble with resource IDs? Try the Resource ID Organiser Visual C++ Add-In -
I believe you can take off the WS_EX_APPWINDOW extended style from the window.