Changeset 10431 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Jan 30, 2004, 11:10:26 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r10379 r10431 1 /* $Id: pmwindow.cpp,v 1.22 6 2004-01-11 12:03:16 sandervlExp $ */1 /* $Id: pmwindow.cpp,v 1.227 2004-01-30 22:10:26 bird Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 135 135 VOID APIENTRY DspInitSystemDriverName(PSZ pszDriverName, ULONG lenDriverName); 136 136 137 #ifdef DEBUG 137 #ifdef DEBUG_LOGGING 138 138 static char *DbgGetStringSWPFlags(ULONG flags); 139 139 static char *DbgPrintQFCFlags(ULONG flags); … … 189 189 SetThreadMessageQueue(hmq); 190 190 191 //initialize keyboard hook for first thread 191 //initialize keyboard hook for first thread 192 192 hookInit(hab); 193 193 … … 259 259 dprintf(("CAPS_GRAPHICS_CHAR_HEIGHT = %d", CapsCharHeight)); 260 260 if(CapsCharHeight > 16) { 261 CapsCharHeight = 16; 261 CapsCharHeight = 16; 262 262 } 263 263 … … 372 372 } 373 373 //****************************************************************************** 374 // Turn on CD Polling (window with 2 second timer to check CD disk presence) 375 // 374 // Turn on CD Polling (window with 2 second timer to check CD disk presence) 375 // 376 376 // NOTE: This can cause PM hangs when executing a program for a very long time 377 377 // (block in IOCtl) … … 553 553 // - thread must not be suspended in WaitMessage 554 554 if(!teb || (msg != WM_CREATE && win32wnd == NULL) || teb->o.odin.fWaitMessageSuspend) { 555 if(teb && teb->o.odin.fWaitMessageSuspend) 555 if(teb && teb->o.odin.fWaitMessageSuspend) 556 556 dprintf(("OS2: fWaitMessageSuspend window %x msg %x -> run default frame proc", hwnd, msg)); 557 557 else dprintf(("OS2: Invalid win32wnd pointer for window %x msg %x", hwnd, msg)); … … 673 673 dprintf(("OS2: WM_SHOW %x %d", hwnd, mp1)); 674 674 win32wnd->MsgShow((ULONG)mp1); 675 676 //if a child window is hidden, then the update region of the 675 676 //if a child window is hidden, then the update region of the 677 677 //parent changes and a WM_ERASEBKGND is required during the next 678 678 //BeginPaint call. 679 if((ULONG)mp1 == FALSE) 679 if((ULONG)mp1 == FALSE) 680 680 { 681 681 Win32BaseWindow *parent = win32wnd->getParent(); … … 729 729 HDC hdcWindow[MAX_OPENDCS]; 730 730 731 if(win32wnd->queryOpenDCs(hdcWindow, MAX_OPENDCS, &nrdcs)) 731 if(win32wnd->queryOpenDCs(hdcWindow, MAX_OPENDCS, &nrdcs)) 732 732 { 733 733 RECTL rcl = {0,0,1,1}; … … 792 792 break; 793 793 } 794 794 795 795 #ifdef DEBUG 796 796 case WM_SETFOCUS: … … 1246 1246 // - thread must not be suspended in WaitMessage 1247 1247 if(!teb || (msg != WM_CREATE && win32wnd == NULL) || teb->o.odin.fWaitMessageSuspend) { 1248 if(teb && teb->o.odin.fWaitMessageSuspend) 1248 if(teb && teb->o.odin.fWaitMessageSuspend) 1249 1249 dprintf(("PMFRAME: fWaitMessageSuspend window %x msg %x -> run default frame proc", hwnd, msg)); 1250 1250 else dprintf(("PMFRAME: Invalid win32wnd pointer for window %x msg %x", hwnd, msg)); … … 1437 1437 1438 1438 } 1439 1439 1440 1440 //PF Pure flags should not cause any subsequent messages to win32 windows 1441 1441 //we should route them to DefFrameWndProc and check highlight. 1442 1442 1443 1443 if ((pswp->fl == SWP_FOCUSACTIVATE) || (pswp->fl == SWP_FOCUSDEACTIVATE)) 1444 1444 { … … 2541 2541 //****************************************************************************** 2542 2542 2543 #ifdef DEBUG 2543 #ifdef DEBUG_LOGGING 2544 2544 static char *DbgGetStringSWPFlags(ULONG flags) 2545 2545 {
Note:
See TracChangeset
for help on using the changeset viewer.