Changeset 309 for trunk/src/user32/new/pmwindow.cpp
- Timestamp:
- Jul 15, 1999, 8:03:03 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/pmwindow.cpp
r304 r309 1 /* $Id: pmwindow.cpp,v 1. 3 1999-07-14 21:05:58 cbratschiExp $ */1 /* $Id: pmwindow.cpp,v 1.4 1999-07-15 18:03:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 14 14 #include <os2.h> /* PM header file */ 15 15 #include <os2wrap.h> 16 #include <stdlib.h> 16 17 #include "win32type.h" 17 18 #include <wprocess.h> … … 68 69 MRESULT EXPENTRY Win32WindowProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 69 70 { 71 POSTMSG_PACKET *postmsg; 70 72 Win32Window *win32wnd; 71 73 ULONG magic; … … 84 86 switch( msg ) 85 87 { 88 //internal messages 89 case WM_WIN32_POSTMESSAGEA: 90 postmsg = (POSTMSG_PACKET *)mp1; 91 if(postmsg == NULL) { 92 dprintf(("WM_WIN32_POSTMESSAGEA, postmsg NULL!!")); 93 break; 94 } 95 win32wnd->SendMessageA(postmsg->Msg, postmsg->wParam, postmsg->lParam); 96 free(postmsg); 97 break; 98 99 case WM_WIN32_POSTMESSAGEW: 100 postmsg = (POSTMSG_PACKET *)mp1; 101 if(postmsg == NULL) { 102 dprintf(("WM_WIN32_POSTMESSAGEW, postmsg NULL!!")); 103 break; 104 } 105 win32wnd->SendMessageW(postmsg->Msg, postmsg->wParam, postmsg->lParam); 106 free(postmsg); 107 break; 108 109 //OS/2 msgs 86 110 case WM_CREATE: 87 111 //Processing is done in after WinCreateWindow returns
Note:
See TracChangeset
for help on using the changeset viewer.