- Timestamp:
- Nov 8, 1999, 2:44:41 PM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/Makefile
r1599 r1629 1 # $Id: Makefile,v 1.4 1 1999-11-04 19:00:59sandervl Exp $1 # $Id: Makefile,v 1.42 1999-11-08 13:44:13 sandervl Exp $ 2 2 3 3 # … … 25 25 26 26 OBJS = user32.obj loadres.obj \ 27 dde.obj win32wndhandle.obj wsprintf.obj \28 icon.obj hook.obj hooks.obj winmenu.obj \27 dde.obj win32wndhandle.obj wsprintf.obj winmouse.obj \ 28 icon.obj hook.obj hooks.obj winmenu.obj winkeyboard.obj \ 29 29 defwndproc.obj syscolor.obj char.obj initterm.obj \ 30 30 uitools.obj unknown.obj spy.obj wndmsg.obj \ … … 83 83 84 84 user32.obj: user32.cpp $(PDWIN32_INCLUDE)\wndproc.h \ 85 $(PDWIN32_INCLUDE)\winicon.h syscolor.h 85 $(PDWIN32_INCLUDE)\winicon.h syscolor.h pmwindow.h 86 86 dummy.obj: dummy.cpp 87 87 char.obj: char.cpp user32.h … … 125 125 pmframe.obj: pmframe.cpp win32class.h win32wbase.h pmframe.h win32wndchild.h 126 126 win32class.obj: win32class.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h 127 win32wbase.obj: win32wbase.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h dc.h pmframe.h win32wdesktop.h controls.h 127 win32wbase.obj: win32wbase.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h dc.h pmframe.h win32wdesktop.h controls.h winmouse.h 128 128 win32wbasepos.obj: win32wbasepos.cpp win32class.h win32wbase.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h dc.h pmframe.h win32wdesktop.h 129 129 win32wnd.obj: win32wnd.cpp win32class.h win32wbase.h win32wnd.h win32dlg.h gen_object.h $(PDWIN32_INCLUDE)\heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h oslibmenu.h … … 149 149 wsprintf.obj: wsprintf.cpp 150 150 151 winmouse.obj: winmouse.cpp winmouse.h oslibmsg.h pmwindow.h win32wbase.h 152 winkeyboard.obj: winkeyboard.cpp $(PDWIN32_INCLUDE)\winkeyboard.h 153 151 154 clean: 152 155 $(RM) *.obj *.lib *.dll *.map *.pch *.res -
trunk/src/user32/USER32.DEF
r1583 r1629 1 ; $Id: USER32.DEF,v 1.1 8 1999-11-03 22:04:21 cbratschiExp $1 ; $Id: USER32.DEF,v 1.19 1999-11-08 13:44:13 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 632 632 633 633 Win32ToOS2Handle__FUl = Win32ToOS2Handle__15Win32BaseWindowFUl @2006 634 635 _MOUSE_Enable@4 @2007 636 _KeyTranslatePMToWin@4 @2008 637 _KeyTranslatePMToWinBuf@12 @2009 -
trunk/src/user32/oslibmsg.cpp
r1612 r1629 1 /* $Id: oslibmsg.cpp,v 1. 8 1999-11-05 12:54:10sandervl Exp $ */1 /* $Id: oslibmsg.cpp,v 1.9 1999-11-08 13:44:14 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 228 228 //****************************************************************************** 229 229 //****************************************************************************** 230 ULONG OSLibWinQueryMsgTime() 231 { 232 return WinQueryMsgTime(GetThreadHAB()); 233 } 234 //****************************************************************************** 235 //****************************************************************************** -
trunk/src/user32/oslibmsg.h
r1371 r1629 1 /* $Id: oslibmsg.h,v 1. 2 1999-10-20 08:08:31sandervl Exp $ */1 /* $Id: oslibmsg.h,v 1.3 1999-11-08 13:44:14 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 30 30 LONG OSLibWinDispatchMsg(MSG *msg, BOOL isUnicode = FALSE); 31 31 32 ULONG OSLibWinQueryMsgTime(); 32 33 BOOL OSLibInitMsgQueue(); 33 34 -
trunk/src/user32/pmwindow.cpp
r1583 r1629 1 /* $Id: pmwindow.cpp,v 1.5 1 1999-11-03 22:04:22 cbratschiExp $ */1 /* $Id: pmwindow.cpp,v 1.52 1999-11-08 13:44:14 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 13 13 #define INCL_GPI 14 14 15 #include <os2.h> /* PM header file */16 15 #include <os2wrap.h> 17 16 #include <stdlib.h> -
trunk/src/user32/pmwindow.h
r1522 r1629 1 /* $Id: pmwindow.h,v 1. 3 1999-10-30 15:16:57 dengertExp $ */1 /* $Id: pmwindow.h,v 1.4 1999-11-08 13:44:14 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 19 19 void UnregisterSystemClasses(); 20 20 21 extern ULONG ScreenWidth; 22 extern ULONG ScreenHeight; 23 21 24 #endif -
trunk/src/user32/user32.cpp
r1593 r1629 1 /* $Id: user32.cpp,v 1.5 0 1999-11-04 18:35:42 phallerExp $ */1 /* $Id: user32.cpp,v 1.51 1999-11-08 13:44:14 sandervl Exp $ */ 2 2 3 3 /* … … 33 33 #include <winicon.h> 34 34 #include "syscolor.h" 35 #include "pmwindow.h" 35 36 36 37 #include <wchar.h> … … 817 818 rc = 0; 818 819 break; 820 case SM_CXSCREEN: 821 822 return ScreenWidth; 823 case SM_CYSCREEN: 824 return ScreenHeight; 825 819 826 case SM_CXVIRTUALSCREEN: 820 827 rc = OSLibWinQuerySysValue(OSLIB_HWND_DESKTOP,SVOS_CXSCREEN); -
trunk/src/user32/user32exp.def
r1583 r1629 578 578 _TrackWin32Window@8 @2003 579 579 Win32ToOS2Handle__FUl @2006 580 _MOUSE_Enable@4 @2007 581 _KeyTranslatePMToWin@4 @2008 582 _KeyTranslatePMToWinBuf@12 @2009 -
trunk/src/user32/win32wbase.cpp
r1606 r1629 1 /* $Id: win32wbase.cpp,v 1.7 6 1999-11-05 09:16:22sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.77 1999-11-08 13:44:15 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 41 41 #include "controls.h" 42 42 #include <wprocess.h> 43 #include "winmouse.h" 43 44 44 45 #define HAS_DLGFRAME(style,exStyle) \ … … 1033 1034 ULONG win32ncmsg; 1034 1035 BOOL fClick = FALSE; 1036 1037 if(ISMOUSE_CAPTURED()) { 1038 if(DInputMouseHandler(getWindowHandle(), MOUSEMSG_BUTTON, ncx, ncy, msg)) 1039 return 0; 1040 } 1035 1041 1036 1042 dprintf(("MsgButton to (%d,%d)", ncx, ncy)); … … 1147 1153 ULONG setcursormsg = WM_MOUSEMOVE; 1148 1154 1155 if(ISMOUSE_CAPTURED()) { 1156 POINT point = {x,y}; 1157 1158 MapWindowPoints(getWindowHandle(), HWND_DESKTOP, &point, 1); 1159 if(DInputMouseHandler(getWindowHandle(), MOUSEMSG_MOVE, point.x, point.y, keystate)) 1160 return 0; 1161 } 1162 1149 1163 if(keystate & WMMOVE_LBUTTON) 1150 1164 winstate |= MK_LBUTTON; -
trunk/src/user32/windowmsg.cpp
r1521 r1629 1 /* $Id: windowmsg.cpp,v 1. 3 1999-10-30 13:21:56sandervl Exp $ */1 /* $Id: windowmsg.cpp,v 1.4 1999-11-08 13:44:17 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window message APIs for OS/2 … … 207 207 //****************************************************************************** 208 208 //****************************************************************************** 209 BOOL WIN32API PostThreadMessageA( DWORD arg1, UINT arg2, WPARAM arg3, LPARAM arg4) 210 { 211 #ifdef DEBUG 212 WriteLog("USER32: PostThreadMessageA\n"); 213 #endif 214 return O32_PostThreadMessage(arg1, arg2, arg3, arg4); 215 } 216 //****************************************************************************** 217 //****************************************************************************** 218 BOOL WIN32API PostThreadMessageW( DWORD arg1, UINT arg2, WPARAM arg3, LPARAM arg4) 219 { 220 #ifdef DEBUG 221 WriteLog("USER32: PostThreadMessageW\n"); 222 #endif 223 // NOTE: This will not work as is (needs UNICODE support) 224 return O32_PostThreadMessage(arg1, arg2, arg3, arg4); 209 BOOL WIN32API PostThreadMessageA( DWORD threadid, UINT msg, WPARAM wParam, LPARAM lParam) 210 { 211 dprintf(("USER32: PostThreadMessageA\n")); 212 return O32_PostThreadMessage(threadid, WIN32APP_USERMSGBASE+msg, wParam, lParam); 213 } 214 //****************************************************************************** 215 //****************************************************************************** 216 BOOL WIN32API PostThreadMessageW( DWORD threadid, UINT msg, WPARAM wParam, LPARAM lParam) 217 { 218 dprintf(("USER32: PostThreadMessageW\n")); 219 return O32_PostThreadMessage(threadid, WIN32APP_USERMSGBASE+msg, wParam, lParam); 225 220 } 226 221 //****************************************************************************** -
trunk/src/user32/winmenu.cpp
r1612 r1629 1 /* $Id: winmenu.cpp,v 1.1 4 1999-11-05 12:54:11sandervl Exp $ */1 /* $Id: winmenu.cpp,v 1.15 1999-11-08 13:44:17 sandervl Exp $ */ 2 2 3 3 /* … … 441 441 442 442 rc = ODIN_GetMenuStringA(hMenu, idItem, astring, cchMax, fuFlags); 443 if(rc) 444 { 445 dprintf(("USER32: GetMenuStringW %s\n", astring)); 446 AsciiToUnicode(astring, lpsz); 447 } 448 else lpsz[0] = 0; 443 449 free(astring); 444 if(rc)445 {446 dprintf(("USER32: OS2GetMenuStringW %s\n", astring));447 AsciiToUnicode(astring, lpsz);448 }449 else lpsz[0] = 0;450 450 451 451 return(rc);
Note:
See TracChangeset
for help on using the changeset viewer.