I ported over an SDI app from VS6.0 to VS2008. For the life of me I can not get my title bar icons to show up, (system menu icon, minimize, maximize, close).
I tried over-riding PreCreateWindow with:
cs.style = WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
| WS_THICKFRAME | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX;
if( !CFrameWnd::PreCreateWindow(cs) )
It goes through the code, but other than than the current document's title, the titlebar is blank.
Edited 5-Oct-12 4:45am
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)