Changeset 2371 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jan 8, 2000, 3:15:38 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r2294 r2371 1 /* $Id: win32wbase.cpp,v 1.13 2 2000-01-02 20:20:01sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.133 2000-01-08 14:15:08 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 38 38 #include "dc.h" 39 39 #include "pmframe.h" 40 #include "pmtitlebar.h" 40 41 #include "win32wdesktop.h" 41 42 #include "pmwindow.h" … … 136 137 void Win32BaseWindow::Init() 137 138 { 138 isUnicode = FALSE;139 fIsSubclassedOS2Wnd = FALSE;140 fFirstShow = TRUE;141 fIsDialog = FALSE;142 fIsModalDialogOwner = FALSE;143 OS2HwndModalDialog = 0;144 fInternalMsg = FALSE;145 fNoSizeMsg = FALSE;146 fIsDestroyed = FALSE;139 isUnicode = FALSE; 140 fIsSubclassedOS2Wnd = FALSE; 141 fFirstShow = TRUE; 142 fIsDialog = FALSE; 143 fIsModalDialogOwner = FALSE; 144 OS2HwndModalDialog = 0; 145 fInternalMsg = FALSE; 146 fNoSizeMsg = FALSE; 147 fIsDestroyed = FALSE; 147 148 fDestroyWindowCalled = FALSE; 148 fCreated = FALSE; 149 fTaskList = FALSE; 150 fParentDC = FALSE; 149 fCreated = FALSE; 150 fTaskList = FALSE; 151 fParentDC = FALSE; 152 fDefWndProcCalled = FALSE; 151 153 152 154 windowNameA = NULL; … … 180 182 contextHelpId = 0; 181 183 182 pOldFrameProc = NULL; 184 pOldFrameProc = NULL; 185 pOldTitleBarProc = NULL; 186 pOldMenuProc = NULL; 187 183 188 borderWidth = 0; 184 189 borderHeight = 0; … … 639 644 FrameGetScrollBarHandles(this,dwStyle & WS_HSCROLL,dwStyle & WS_VSCROLL); 640 645 subclassScrollBars(dwStyle & WS_HSCROLL,dwStyle & WS_VSCROLL); 646 647 FrameSubclassTitleBar(this); 641 648 642 649 fakeWinBase.hwndThis = OS2Hwnd; … … 1057 1064 } 1058 1065 1059 //TODO: hiword should be 0 if window enters menu mode (SDK docs) 1060 SendInternalMessageA(WM_SETCURSOR, Win32Hwnd, MAKELONG(lastHitTestVal, msg->message)); 1066 //SvL: Correct?? 1067 if(msg->message != WM_NCMOUSEMOVE) { 1068 //TODO: hiword should be 0 if window enters menu mode (SDK docs) 1069 SendInternalMessageA(WM_SETCURSOR, Win32Hwnd, MAKELONG(lastHitTestVal, msg->message)); 1070 } 1061 1071 1062 1072 //translated message == WM_(NC)MOUSEMOVE … … 1543 1553 LRESULT Win32BaseWindow::DefWindowProcA(UINT Msg, WPARAM wParam, LPARAM lParam) 1544 1554 { 1555 fDefWndProcCalled = TRUE; 1545 1556 switch(Msg) 1546 1557 { 1547 1558 case WM_CLOSE: 1548 dprintf(("DefWindowProcA: WM_CLOSE %x", getWindowHandle()));1559 dprintf(("DefWindowProcA: WM_CLOSE %x", getWindowHandle())); 1549 1560 DestroyWindow(); 1550 1561 return 0; … … 1936 1947 LRESULT Win32BaseWindow::DefWindowProcW(UINT Msg, WPARAM wParam, LPARAM lParam) 1937 1948 { 1949 fDefWndProcCalled = TRUE; 1950 1938 1951 switch(Msg) 1939 1952 {
Note:
See TracChangeset
for help on using the changeset viewer.