Changeset 2099 for trunk/src/user32/win32wmdiclient.h
- Timestamp:
- Dec 17, 1999, 6:18:04 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/win32wmdiclient.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wmdiclient.h
r1429 r2099 1 /* $Id: win32wmdiclient.h,v 1. 4 1999-10-24 12:30:29 sandervlExp $ */1 /* $Id: win32wmdiclient.h,v 1.5 1999-12-17 17:18:04 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 MDI Client Window Class for OS/2 … … 18 18 #define MDICLIENTCLASSNAMEW L"MDICLIENT" 19 19 20 #define MDIF_NEEDUPDATE 0x000120 #define MDIF_NEEDUPDATE 0x0001 21 21 22 22 //****************************************************************************** … … 30 30 virtual BOOL isMDIClient(); 31 31 32 int incTotalCreated() { return ++nTotalCreated; };33 int getFirstChildId() { return idFirstChild; };32 int incTotalCreated() { return ++nTotalCreated; }; 33 int getFirstChildId() { return idFirstChild; }; 34 34 35 HWND getMDIMenu() { return hWindowMenu; };35 HWND getMDIMenu() { return hWindowMenu; }; 36 36 37 37 Win32MDIChildWindow *getMaximizedChild() { return maximizedChild; }; … … 46 46 void postUpdate(WORD recalc); 47 47 48 int getNrOfChildren() { return nActiveChildren; };49 int incNrActiveChildren() { return ++nActiveChildren; };50 int decNrActiveChildren() { return --nActiveChildren; };48 int getNrOfChildren() { return nActiveChildren; }; 49 int incNrActiveChildren() { return ++nActiveChildren; }; 50 int decNrActiveChildren() { return --nActiveChildren; }; 51 51 52 int getMdiFlags() { return mdiFlags; };52 int getMdiFlags() { return mdiFlags; }; 53 53 void setMdiFlags(int newflags) { mdiFlags = newflags; }; 54 54 55 55 void updateFrameText(BOOL repaint, LPCSTR lpTitle ); 56 56 57 LONG childActivate(Win32MDIChildWindow *child);57 LONG childActivate(Win32MDIChildWindow *child); 58 58 void switchActiveChild(Win32MDIChildWindow *nextActiveChild, BOOL bNextWindow ); 59 59 LRESULT destroyChild(Win32MDIChildWindow *child, BOOL flagDestroy ); 60 60 61 LRESULT setMDIMenu(HMENU hmenuFrame, HMENU hmenuWindow);62 LRESULT refreshMDIMenu(HMENU hmenuFrame, HMENU hmenuWindow);63 BOOL restoreFrameMenu(Win32BaseWindow *child);61 LRESULT setMDIMenu(HMENU hmenuFrame, HMENU hmenuWindow); 62 LRESULT refreshMDIMenu(HMENU hmenuFrame, HMENU hmenuWindow); 63 BOOL restoreFrameMenu(Win32BaseWindow *child); 64 64 65 65 LRESULT MDIClientWndProc(UINT message, WPARAM wParam, LPARAM lParam); 66 67 Win32BaseWindow** buildWindowArray(UINT bwaFlags,PUINT total); 68 void releaseWindowArray(Win32BaseWindow **wndArray); 69 void calcDefaultChildPos(WORD n,LPPOINT lpPos,INT delta); 70 BOOL cascade(UINT fuCascade); 71 BOOL tile(UINT fuTile); 66 72 67 73 private: … … 69 75 Win32MDIChildWindow *activeChild; 70 76 71 HWND hWindowMenu;77 HWND hWindowMenu; 72 78 int idFirstChild; 73 79 74 int nActiveChildren;75 int nTotalCreated;76 int sbRecalc;77 LPSTR frameTitle;78 DWORD mdiFlags;80 int nActiveChildren; 81 int nTotalCreated; 82 int sbRecalc; 83 LPSTR frameTitle; 84 DWORD mdiFlags; 79 85 80 86 };
Note:
See TracChangeset
for help on using the changeset viewer.
