Changeset 1054 for trunk/src/user32/old
- Timestamp:
- Sep 25, 1999, 9:07:34 PM (26 years ago)
- Location:
- trunk/src/user32/old
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/old/Makefile
r950 r1054 1 # $Id: Makefile,v 1. 3 1999-09-15 23:20:36sandervl Exp $1 # $Id: Makefile,v 1.4 1999-09-25 19:07:32 sandervl Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 PDWIN32_INCLUDE = ..\..\ include10 PDWIN32_LIB = ..\..\ lib11 PDWIN32_BIN = . .\..\bin12 PDWIN32_TOOLS = ..\..\ tools\bin9 PDWIN32_INCLUDE = ..\..\..\include\old 10 PDWIN32_LIB = ..\..\..\lib 11 PDWIN32_BIN = . 12 PDWIN32_TOOLS = ..\..\..\tools\bin 13 13 14 14 … … 16 16 17 17 18 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 19 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) 18 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\..\win 19 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\..\win 20 20 21 21 … … 35 35 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \ 36 36 $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/gdi32.lib \ 37 $(PDWIN32_LIB)/kernel32.lib $(PDWIN32_LIB)/libuls.lib \37 ..\..\kernel32\old\kernel32.lib $(PDWIN32_LIB)/libuls.lib \ 38 38 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 39 $(CP) $@ $(PDWIN32_BIN)40 39 41 40 42 41 $(TARGET).lib: $(TARGET)exp.def 43 42 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def 44 $(CP) $@ $(PDWIN32_LIB)45 43 46 44 $(TARGET)exp.def: $(TARGET).def -
trunk/src/user32/old/USER32.DEF
r950 r1054 1 ; $Id: USER32.DEF,v 1. 3 1999-09-15 23:20:37sandervl Exp $1 ; $Id: USER32.DEF,v 1.4 1999-09-25 19:07:32 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 615 615 NativeDlgBoxIP = _NativeDlgBoxIP@24 @2003 616 616 NativeCreateDlgIP = _NativeCreateDlgIP@24 @2004 617 618 Win32ToOS2Handle__FUl = Win32ToOS2Handle__FUl @2006 -
trunk/src/user32/old/dlgconvert.cpp
r950 r1054 1 /* $Id: dlgconvert.cpp,v 1. 3 1999-09-15 23:20:38sandervl Exp $ */1 /* $Id: dlgconvert.cpp,v 1.4 1999-09-25 19:07:33 sandervl Exp $ */ 2 2 3 3 /* … … 44 44 #include "nameid.h" 45 45 #include "dlgconvert.h" 46 #include "..\ pe2lx\dialog.h"46 #include "..\..\pe2lx\dialog.h" 47 47 48 48 #ifndef BS_TEXT /*PLF Sun 97-06-22 03:07:13 not in watcom's os/2 header */ -
trunk/src/user32/old/initterm.cpp
r950 r1054 1 /* $Id: initterm.cpp,v 1. 3 1999-09-15 23:20:38sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.4 1999-09-25 19:07:33 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 #include <misc.h> /*PLF Wed 98-03-18 23:18:29*/ 35 35 #include <win32type.h> 36 #include <odinlx.h>37 36 #include <wndclass.h> 38 37 #include <spy.h> … … 78 77 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 79 78 80 if(RegisterLxDll(hModule, 0, 0) == FALSE)81 return 0UL;82 83 79 /*******************************************************************/ 84 80 /* A DosExitList routine must be used to clean up if runtime calls */ … … 101 97 break; 102 98 case 1 : 103 UnregisterLxDll(hModule);104 99 break; 105 100 default : -
trunk/src/user32/old/user32.cpp
r950 r1054 1 /* $Id: user32.cpp,v 1. 3 1999-09-15 23:20:40sandervl Exp $ */1 /* $Id: user32.cpp,v 1.4 1999-09-25 19:07:33 sandervl Exp $ */ 2 2 3 3 /* … … 72 72 73 73 74 //****************************************************************************** 75 //****************************************************************************** 76 #ifdef DEBUG 77 void PrintWindowStyle(DWORD dwStyle, DWORD dwExStyle) 78 { 79 char style[256] = ""; 80 char exstyle[256] = ""; 81 82 /* Window styles */ 83 if(dwStyle & WS_CHILD) 84 strcat(style, "WS_CHILD "); 85 if(dwStyle & WS_POPUP) 86 strcat(style, "WS_POPUP "); 87 if(dwStyle & WS_VISIBLE) 88 strcat(style, "WS_VISIBLE "); 89 if(dwStyle & WS_DISABLED) 90 strcat(style, "WS_DISABLED "); 91 if(dwStyle & WS_CLIPSIBLINGS) 92 strcat(style, "WS_CLIPSIBLINGS "); 93 if(dwStyle & WS_CLIPCHILDREN) 94 strcat(style, "WS_CLIPCHILDREN "); 95 if(dwStyle & WS_MAXIMIZE) 96 strcat(style, "WS_MAXIMIZE "); 97 if(dwStyle & WS_MINIMIZE) 98 strcat(style, "WS_MINIMIZE "); 99 if(dwStyle & WS_GROUP) 100 strcat(style, "WS_GROUP "); 101 if(dwStyle & WS_TABSTOP) 102 strcat(style, "WS_TABSTOP "); 103 104 if(dwStyle & WS_CAPTION) 105 strcat(style, "WS_CAPTION "); 106 if(dwStyle & WS_DLGFRAME) 107 strcat(style, "WS_DLGFRAME "); 108 if(dwStyle & WS_BORDER) 109 strcat(style, "WS_BORDER "); 110 111 if(dwStyle & WS_VSCROLL) 112 strcat(style, "WS_VSCROLL "); 113 if(dwStyle & WS_HSCROLL) 114 strcat(style, "WS_HSCROLL "); 115 if(dwStyle & WS_SYSMENU) 116 strcat(style, "WS_SYSMENU "); 117 if(dwStyle & WS_THICKFRAME) 118 strcat(style, "WS_THICKFRAME "); 119 if(dwStyle & WS_MINIMIZEBOX) 120 strcat(style, "WS_MINIMIZEBOX "); 121 if(dwStyle & WS_MAXIMIZEBOX) 122 strcat(style, "WS_MAXIMIZEBOX "); 123 124 if(dwExStyle & WS_EX_DLGMODALFRAME) 125 strcat(exstyle, "WS_EX_DLGMODALFRAME "); 126 if(dwExStyle & WS_EX_ACCEPTFILES) 127 strcat(exstyle, "WS_EX_ACCEPTFILES "); 128 if(dwExStyle & WS_EX_NOPARENTNOTIFY) 129 strcat(exstyle, "WS_EX_NOPARENTNOTIFY "); 130 if(dwExStyle & WS_EX_TOPMOST) 131 strcat(exstyle, "WS_EX_TOPMOST "); 132 if(dwExStyle & WS_EX_TRANSPARENT) 133 strcat(exstyle, "WS_EX_TRANSPARENT "); 134 135 if(dwExStyle & WS_EX_MDICHILD) 136 strcat(exstyle, "WS_EX_MDICHILD "); 137 if(dwExStyle & WS_EX_TOOLWINDOW) 138 strcat(exstyle, "WS_EX_TOOLWINDOW "); 139 if(dwExStyle & WS_EX_WINDOWEDGE) 140 strcat(exstyle, "WS_EX_WINDOWEDGE "); 141 if(dwExStyle & WS_EX_CLIENTEDGE) 142 strcat(exstyle, "WS_EX_CLIENTEDGE "); 143 if(dwExStyle & WS_EX_CONTEXTHELP) 144 strcat(exstyle, "WS_EX_CONTEXTHELP "); 145 if(dwExStyle & WS_EX_RIGHT) 146 strcat(exstyle, "WS_EX_RIGHT "); 147 if(dwExStyle & WS_EX_LEFT) 148 strcat(exstyle, "WS_EX_LEFT "); 149 if(dwExStyle & WS_EX_RTLREADING) 150 strcat(exstyle, "WS_EX_RTLREADING "); 151 if(dwExStyle & WS_EX_LTRREADING) 152 strcat(exstyle, "WS_EX_LTRREADING "); 153 if(dwExStyle & WS_EX_LEFTSCROLLBAR) 154 strcat(exstyle, "WS_EX_LEFTSCROLLBAR "); 155 if(dwExStyle & WS_EX_RIGHTSCROLLBAR) 156 strcat(exstyle, "WS_EX_RIGHTSCROLLBAR "); 157 if(dwExStyle & WS_EX_CONTROLPARENT) 158 strcat(exstyle, "WS_EX_CONTROLPARENT "); 159 if(dwExStyle & WS_EX_STATICEDGE) 160 strcat(exstyle, "WS_EX_STATICEDGE "); 161 if(dwExStyle & WS_EX_APPWINDOW) 162 strcat(exstyle, "WS_EX_APPWINDOW "); 163 164 dprintf(("Window style: %x %s", dwStyle, style)); 165 dprintf(("Window exStyle: %x %s", dwExStyle, exstyle)); 166 } 167 #endif 168 74 169 75 170 //****************************************************************************** … … 551 646 HWND hwnd; 552 647 Win32WindowProc *window = NULL; 648 649 #ifdef DEBUG 650 PrintWindowStyle(dwStyle, dwExStyle); 651 #endif 553 652 554 653 /* @@@PH 98/06/12 CreateWindow crashes somewhere in Open32 */ … … 1090 1189 //****************************************************************************** 1091 1190 //****************************************************************************** 1092 HCURSOR WIN32API SetCursor( HCURSOR arg1) 1093 { 1094 #ifdef DEBUG 1095 WriteLog("USER32: SetCursor\n"); 1096 #endif 1097 return O32_SetCursor(arg1); 1191 HCURSOR WIN32API SetCursor( HCURSOR hcur) 1192 { 1193 HCURSOR rc; 1194 1195 rc = O32_SetCursor(hcur); 1196 dprintf(("USER32: SetCursor %x (prev %x (%x))\n", hcur, rc, O32_GetCursor())); 1197 return rc; 1098 1198 } 1099 1199 //****************************************************************************** … … 1261 1361 HWND WIN32API ChildWindowFromPoint( HWND arg1, POINT arg2) 1262 1362 { 1263 #ifdef DEBUG 1264 WriteLog("USER32: ChildWindowFromPoint\n"); 1265 #endif 1266 return O32_ChildWindowFromPoint(arg1, arg2); 1363 HWND rc; 1364 1365 rc = O32_ChildWindowFromPoint(arg1, arg2); 1366 #ifdef DEBUG 1367 WriteLog("USER32: ChildWindowFromPoint %x returned %x\n", arg1, rc); 1368 #endif 1369 return rc; 1267 1370 } 1268 1371 /***************************************************************************** -
trunk/src/user32/old/user32.h
r950 r1054 1 /* $Id: user32.h,v 1. 3 1999-09-15 23:20:41sandervl Exp $ */1 /* $Id: user32.h,v 1.4 1999-09-25 19:07:34 sandervl Exp $ */ 2 2 3 3 /***************************************************************************** … … 14 14 #include <stdlib.h> 15 15 #include <string.h> 16 #include <nameid.h> 16 17 17 18 inline void ConvertFontAW(LOGFONTA *fa, LOGFONTW *fw) -
trunk/src/user32/old/wndproc.cpp
r950 r1054 1 /* $Id: wndproc.cpp,v 1. 3 1999-09-15 23:20:42sandervl Exp $ */1 /* $Id: wndproc.cpp,v 1.4 1999-09-25 19:07:34 sandervl Exp $ */ 2 2 3 3 /* … … 25 25 #include "hooks.h" 26 26 #include "wndmsg.h" 27 28 HWND Win32ToOS2Handle(HWND hwndWin32) 29 { 30 return hwndWin32; 31 } 27 32 28 33 void NotifyParent(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam)
Note:
See TracChangeset
for help on using the changeset viewer.