for some reason another window isnt showing in my program..hwnd shows but hwnd2 doesnt..
Code:HWND hwnd , hwnd2;this is the main window...also the program is unicodeCode:hwnd = CreateWindowEx(0, szClassName, _T("Test") , WS_OVERLAPPED | WS_MINIMIZEBOX | WS_SYSMENU, CW_USEDEFAULT, CW_USEDEFAULT, 425, 350, HWND_DESKTOP, NULL, hThisInstance, NULL);
thats the window im trying to get to show.Code:hwnd2 = CreateWindow( szClassName, _T("test") , WS_OVERLAPPED | WS_MINIMIZEBOX | WS_SYSMENU, CW_USEDEFAULT, CW_USEDEFAULT, 425, 350, hwnd, NULL, hThisInstance, NULL);
it seems all perfect but wont showCode:ShowWindow(hwnd , SW_SHOW); ShowWindow(hwnd2 , SW_SHOW); UpdateWindow(hwnd); UpdateWindow(hwnd2);



LinkBack URL
About LinkBacks


