- Timestamp:
- Jan 30, 2004, 11:10:26 PM (22 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 4 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 { -
trunk/src/user32/windlg.cpp
r9519 r10431 1 /* $Id: windlg.cpp,v 1.3 6 2002-12-17 14:16:47 sandervlExp $ */1 /* $Id: windlg.cpp,v 1.37 2004-01-30 22:10:25 bird Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 242 242 Win32Dialog *dialog; 243 243 BOOL rc; 244 #ifdef DEBUG 244 #ifdef DEBUG_LOGGING 245 245 RECT dlgRect = *rect; 246 246 #endif … … 279 279 HWND hChildFirst = 0; 280 280 281 if(!hwndCtrl) 281 if(!hwndCtrl) 282 282 { 283 283 hChildFirst = GetWindow(hwndDlg,GW_CHILD); … … 384 384 } 385 385 dprintf(("USER32: GetNextDlgTabItem %x %x %d", hwndDlg,hwndCtrl,fPrevious)); 386 return DIALOG_GetNextTabItem(hwndDlg,hwndDlg,hwndCtrl,fPrevious); 386 return DIALOG_GetNextTabItem(hwndDlg,hwndDlg,hwndCtrl,fPrevious); 387 387 } 388 388 //****************************************************************************** -
trunk/src/user32/wndmsg.cpp
r9523 r10431 1 /* $Id: wndmsg.cpp,v 1. 19 2002-12-18 12:28:08 sandervlExp $ */1 /* $Id: wndmsg.cpp,v 1.20 2004-01-30 22:10:25 bird Exp $ */ 2 2 /* 3 3 * Win32 window message text function for OS/2 … … 20 20 #include "dbglocal.h" 21 21 22 #ifdef DEBUG 22 #ifdef DEBUG_LOGGING 23 23 typedef struct 24 24 { -
trunk/src/user32/wndmsg.h
r9523 r10431 1 /* $Id: wndmsg.h,v 1. 7 2002-12-18 12:28:08 sandervlExp $ */1 /* $Id: wndmsg.h,v 1.8 2004-01-30 22:10:24 bird Exp $ */ 2 2 /* 3 3 * Win32 window message text function for OS/2 … … 16 16 #endif 17 17 18 #ifdef DEBUG 18 #ifdef DEBUG_LOGGING 19 19 char *GetMsgText(int Msg); 20 20
Note:
See TracChangeset
for help on using the changeset viewer.