- Timestamp:
- Feb 6, 2003, 9:28:42 PM (23 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsgtranslate.cpp
r9607 r9765 1 /* $Id: oslibmsgtranslate.cpp,v 1.9 8 2003-01-04 12:21:44sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.99 2003-02-06 20:28:38 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 199 199 break; 200 200 201 case WM_REALIZEPALETTE: 202 winMsg->message = WINWM_PALETTECHANGED; 203 break; 204 201 205 case WM_WINDOWPOSCHANGED: 202 206 { -
trunk/src/user32/pmwindow.cpp
r9741 r9765 1 /* $Id: pmwindow.cpp,v 1.19 4 2003-01-29 13:07:30sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.195 2003-02-06 20:28:39 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 257 257 } /* End of main */ 258 258 //****************************************************************************** 259 #ifdef NEW_WGSS260 259 HBITMAP OPEN32API _O32_CreateBitmapFromPMHandle(HBITMAP hPMBitmap); 261 260 … … 270 269 return yyrc; 271 270 } 272 #endif273 271 //****************************************************************************** 274 272 static void QueryPMMenuBitmaps() … … 300 298 hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN] = GpiLoadBitmap(hdc, hModDisplay, SBMP_CLOSEDEP, 0, 0); 301 299 302 #ifdef NEW_WGSS303 300 //Create win32 bitmap handles of the OS/2 min, max and restore buttons 304 301 hBmpMinButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTON]); … … 310 307 hBmpCloseButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTON]); 311 308 hBmpCloseButtonDown = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN]); 312 #endif313 309 DevCloseDC(hdc); 314 310 } … … 881 877 case WM_REALIZEPALETTE: 882 878 { 883 dprintf(("OS2: WM_REALIZEPALETTE")); 884 goto RunDefWndProc; 879 dprintf(("OS2: WM_REALIZEPALETTE %x", win32wnd->getWindowHandle())); 880 win32wnd->DispatchMsgA(pWinMsg); 881 break; 885 882 } 886 883 … … 1577 1574 // -> problems with update region if we don't do it 1578 1575 // todo: rewrite whole handling 1576 dprintf(("PMFRAME: WM_WINDOWPOSCHANGED invalidate all")); 1579 1577 WinInvalidateRect(hwnd,NULL,TRUE); 1580 1578 } -
trunk/src/user32/win32wbase.cpp
r9637 r9765 1 /* $Id: win32wbase.cpp,v 1.35 3 2003-01-06 16:15:13sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.354 2003-02-06 20:28:42 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1102 1102 } 1103 1103 1104 // if in <= 8bpp mode, then we must send a WM_QUERYNEWPALETTE message here 1105 // this gives the app the chance to realize its palette 1106 if(ScreenBitsPerPel <= 8) { 1107 SendMessageA(getWindowHandle(),WM_QUERYNEWPALETTE, 0, 0); 1108 } 1104 1109 return SendMessageA(getWindowHandle(),WM_SETFOCUS, hwnd, 0); 1105 1110 } … … 3757 3762 else ShowWindow(SW_HIDE); 3758 3763 } 3764 3759 3765 #ifdef DEBUG 3760 3766 PrintWindowStyle(ss.styleNew, 0);
Note:
See TracChangeset
for help on using the changeset viewer.