Changeset 3662 for trunk/src/user32/win32wbase.h
- Timestamp:
- Jun 7, 2000, 4:51:33 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.h
r3610 r3662 1 /* $Id: win32wbase.h,v 1.9 6 2000-05-26 18:43:35sandervl Exp $ */1 /* $Id: win32wbase.h,v 1.97 2000-06-07 14:51:31 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 104 104 virtual ~Win32BaseWindow(); 105 105 106 virtual ULONG MsgCreate(HWND hwnd Frame, HWND hwndClient);106 virtual ULONG MsgCreate(HWND hwndOS2); 107 107 ULONG MsgQuit(); 108 108 ULONG MsgClose(); … … 145 145 HWND getWindowHandle() { return Win32Hwnd; }; 146 146 HWND getOS2WindowHandle() { return OS2Hwnd; }; 147 HWND getOS2FrameWindowHandle() { return OS2HwndFrame; };148 147 Win32WndClass *getWindowClass() { return windowClass; }; 149 148 … … 212 211 BOOL SetWindowPos(HWND hwndInsertAfter, int x, int y, int cx, int cy, UINT fuFlags); 213 212 BOOL SetWindowPlacement(WINDOWPLACEMENT *winpos); 213 BOOL GetWindowPlacement(LPWINDOWPLACEMENT winpos); 214 214 BOOL DestroyWindow(); 215 215 HWND SetActiveWindow(); … … 297 297 298 298 static HWND Win32ToOS2Handle(HWND hwnd); 299 static HWND Win32ToOS2FrameHandle(HWND hwnd);300 299 static HWND OS2ToWin32Handle(HWND hwnd); 301 static BOOL IsOS2FrameWindowHandle(HWND hwndWin32, HWND hwndOS2);302 300 303 301 static Win32BaseWindow *GetWindowFromHandle(HWND hwnd); 304 302 static Win32BaseWindow *GetWindowFromOS2Handle(HWND hwnd); 305 static Win32BaseWindow *GetWindowFromOS2FrameHandle(HWND hwnd);306 303 307 304 static void DestroyAll(); 308 309 PVOID getOldFrameProc() { return pOldFrameProc; };310 VOID setOldFrameProc(PVOID aOldFrameProc) { pOldFrameProc = aOldFrameProc; };311 312 PVOID getOldWndProc() { return pOldWndProc; }313 VOID setOldWndProc(PVOID aOldWndProc) { pOldWndProc = aOldWndProc; }314 305 315 306 protected: … … 326 317 327 318 HWND OS2Hwnd; 328 HWND OS2HwndFrame;329 319 HMENU hSysMenu; 330 320 HWND Win32Hwnd; … … 371 361 DWORD dwThreadId; //id of thread that created this window 372 362 DWORD dwProcessId; //id of process that created this window 373 PVOID pOldFrameProc;374 375 PVOID pOldWndProc;376 363 377 364 Win32BaseWindow *owner; … … 385 372 ULONG nrUserWindowLong; 386 373 387 RECT rectWindow; //relative to screen 388 RECT rectClient; //relative to parent 374 RECT rectWindow; //relative to parent 375 RECT rectClient; //relative to frame 376 WINDOWPLACEMENT windowpos; 389 377 390 378 PROPERTY *propertyList; … … 405 393 #ifndef OS2_INCLUDED 406 394 void GetMinMaxInfo(POINT *maxSize, POINT *maxPos, POINT *minTrack, POINT *maxTrack ); 395 UINT MinMaximize(UINT cmd, LPRECT lpRect); 407 396 LONG HandleWindowPosChanging(WINDOWPOS *winpos); 408 397 LONG HandleNCActivate(WPARAM wParam);
Note:
See TracChangeset
for help on using the changeset viewer.