- Timestamp:
- Sep 4, 1999, 9:51:47 PM (26 years ago)
- Location:
- trunk/src/user32/new
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/makefile
r821 r822 1 # $Id: makefile,v 1.4 2 1999-09-04 19:42:27sandervl Exp $1 # $Id: makefile,v 1.43 1999-09-04 19:51:46 sandervl Exp $ 2 2 3 3 # … … 102 102 pmwindow.obj: pmwindow.cpp win32class.h win32wbase.h win32dlg.h pmwindow.h win32wndchild.h $(PDWIN32_INCLUDE)\wprocess.h oslibgdi.h oslibwin.h 103 103 win32class.obj: win32class.cpp win32class.h win32wbase.h win32dlg.h gen_object.h heapshared.h oslibwin.h win32wndchild.h 104 win32wbase.obj: win32wbase.cpp win32class.h win32wbase.h win32dlg.h gen_object.h heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h open32wbase.h104 win32wbase.obj: win32wbase.cpp win32class.h win32wbase.h win32dlg.h gen_object.h heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h 105 105 win32wnd.obj: win32wnd.cpp win32class.h win32wbase.h win32wnd.h win32dlg.h gen_object.h heapshared.h oslibwin.h win32wndchild.h $(PDWIN32_INCLUDE)\winres.h oslibres.h win32wndhandle.h oslibdos.h oslibmenu.h 106 106 win32dlg.obj: win32dlg.cpp win32class.h win32wbase.h win32dlg.h gen_object.h heapshared.h oslibwin.h win32wndchild.h -
trunk/src/user32/new/pmwindow.cpp
r819 r822 1 /* $Id: pmwindow.cpp,v 1.2 7 1999-09-04 17:56:40 dengertExp $ */1 /* $Id: pmwindow.cpp,v 1.28 1999-09-04 19:51:46 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 131 131 case WM_CLOSE: 132 132 dprintf(("OS2: WM_CLOSE %x", hwnd)); 133 win32wnd->RemoveFakeOpen32();133 // win32wnd->RemoveFakeOpen32(); 134 134 if(win32wnd->MsgClose()) { 135 135 goto RunDefWndProc; -
trunk/src/user32/new/win32wbase.cpp
r821 r822 1 /* $Id: win32wbase.cpp,v 1. 7 1999-09-04 19:42:29sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.8 1999-09-04 19:51:46 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 429 429 #endif 430 430 431 fakeWinBase.hwndThisObject = OS2Hwnd;432 fakeWinBase.pWindowClass = windowClass;433 *(PULONG)&fakeWinBase -= 0x90 - 8;431 // fakeWinBase.hwndThisObject = OS2Hwnd; 432 // fakeWinBase.pWindowClass = windowClass; 433 // *(PULONG)&fakeWinBase -= 0x90 - 8; 434 434 // SetFakeOpen32(); 435 435 … … 1878 1878 //****************************************************************************** 1879 1879 //****************************************************************************** 1880 BOOL Win32BaseWindow::IsWindow()1881 {1882 return TRUE;1883 }1884 //******************************************************************************1885 //******************************************************************************1886 1880 BOOL Win32BaseWindow::IsWindowEnabled() 1887 1881 { … … 1911 1905 //****************************************************************************** 1912 1906 //****************************************************************************** 1913 int Win32BaseWindow::GetWindowTextLengthA() 1914 { 1915 return OSLibWinQueryWindowTextLength(OS2Hwnd); 1916 } 1917 //****************************************************************************** 1918 //****************************************************************************** 1919 int Win32BaseWindow::GetWindowTextA(LPSTR lpsz, int cch) 1920 { 1921 return OSLibWinQueryWindowText(OS2Hwnd, cch, lpsz); 1907 int Win32BaseWindow::GetWindowTextLength() 1908 { 1909 return wndNameLength; 1910 } 1911 //****************************************************************************** 1912 //****************************************************************************** 1913 int Win32BaseWindow::GetWindowText(LPSTR lpsz, int cch) 1914 { 1915 if(isUnicode == FALSE) { 1916 strncpy(lpsz, windowNameA, cch); 1917 } 1918 else { 1919 lstrcpynW((LPWSTR)lpsz, windowNameW, cch); 1920 } 1921 return wndNameLength; 1922 1922 } 1923 1923 //****************************************************************************** … … 1926 1926 { 1927 1927 if(lpsz == NULL) 1928 1928 return FALSE; 1929 1929 1930 1930 if(isUnicode == FALSE) { … … 1942 1942 wndNameLength = strlen(windowNameA)+1; //including 0 terminator 1943 1943 1944 if(OS2Hwnd )1945 return OSLibWinSetWindowText(OS2Hwnd , (LPSTR)windowNameA);1944 if(OS2HwndFrame) 1945 return OSLibWinSetWindowText(OS2HwndFrame, (LPSTR)windowNameA); 1946 1946 1947 1947 return TRUE; -
trunk/src/user32/new/win32wbase.h
r821 r822 1 /* $Id: win32wbase.h,v 1. 5 1999-09-04 19:42:29sandervl Exp $ */1 /* $Id: win32wbase.h,v 1.6 1999-09-04 19:51:47 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 17 17 18 18 #include <win32class.h> 19 #include "open32wbase.h"19 //#include "open32wbase.h" 20 20 #include <gen_object.h> 21 21 #include <win32wndchild.h> … … 271 271 272 272 public: 273 void SetFakeOpen32() { WinSetDAXData (OS2Hwnd, &fakeWinBase); }274 void RemoveFakeOpen32() { WinSetDAXData (OS2Hwnd, NULL); }275 276 fakeOpen32WinBaseClass fakeWinBase;273 // void SetFakeOpen32() { WinSetDAXData (OS2Hwnd, &fakeWinBase); } 274 // void RemoveFakeOpen32() { WinSetDAXData (OS2Hwnd, NULL); } 275 276 // fakeOpen32WinBaseClass fakeWinBase; 277 277 }; 278 278
Note:
See TracChangeset
for help on using the changeset viewer.