Changeset 2371 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Jan 8, 2000, 3:15:38 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r2257 r2371 1 /* $Id: pmwindow.cpp,v 1.7 4 1999-12-29 22:54:02 cbratschiExp $ */1 /* $Id: pmwindow.cpp,v 1.75 2000-01-08 14:15:07 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 37 37 #include "timer.h" 38 38 #include <codepage.h> 39 #include <win\options.h> 39 40 40 41 HMQ hmq = 0; /* Message queue handle */ … … 45 46 ULONG ScreenHeight = 0; 46 47 ULONG ScreenBitsPerPel = 0; 48 BOOL fOS2Look = TRUE; 47 49 48 50 … … 71 73 return(FALSE); 72 74 } 73 else75 else 74 76 { 75 if(!hab) {76 hab = WinQueryAnchorBlock(HWND_DESKTOP);77 dprintf(("WinQueryAnchorBlock returned %x", hab));78 }79 if(!hmq) {80 hmq = HMQ_CURRENT;81 }82 77 if(!hab) { 78 hab = WinQueryAnchorBlock(HWND_DESKTOP); 79 dprintf(("WinQueryAnchorBlock returned %x", hab)); 80 } 81 if(!hmq) { 82 hmq = HMQ_CURRENT; 83 } 84 } 83 85 } 84 86 SetThreadHAB(hab); … … 93 95 (PSZ)WIN32_STDCLASS, /* Window class name */ 94 96 (PFNWP)Win32WindowProc, /* Address of window procedure */ 95 // CS_SIZEREDRAW | CS_HITTEST | CS_MOVENOTIFY,96 //CS_SIZEREDRAW | CS_HITTEST,97 97 CS_HITTEST, 98 98 NROF_WIN32WNDBYTES)) { … … 130 130 131 131 dprintf(("InitPM: Desktop (%d,%d)", ScreenWidth, ScreenHeight)); 132 133 fOS2Look = PROFILE_GetOdinIniInt(ODINCUSTOMIZATION,"OS2Look",1); 134 132 135 return OSLibInitMsgQueue(); 133 136 } /* End of main */
Note:
See TracChangeset
for help on using the changeset viewer.