home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
smart21b.zip
/
SMARTAUX
/
SMARTMDI
/
MDI.H
< prev
Wrap
Text File
|
1994-11-07
|
2KB
|
57 lines
typedef struct tagMDICREATESTRUCT {
INT cbSize;
PSZ pszClass;
PSZ pszTitle;
HWND hwndOwner;
LONG x, y, cx, cy;
LONG fFrameStyle;
LONG fClientStyle;
ULONG fFrameFlags;
LONG id;
HMODULE hmod;
PVOID pCreateStruct;
PVOID pPresParams;
}MDICREATESTRUCT;
MRESULT EXPENTRY WinDefMDIServerProc ( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2 );
MRESULT EXPENTRY WinDefMDIDocumentProc ( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2 );
#define WC_MDISERVER ((PSZ)0xFFFF0100)
#define ServerProcWindowWords 8
#define UM_REGISTERCLASS (WM_USER+1024)
#define UM_ISCHILDMDI (WM_USER+1025)
#define WM_MDICREATE (WM_USER+1000)
#define WM_MDIACTIVATE (WM_USER+1001)
#define WM_MDIGETACTIVE (WM_USER+1002)
#define WM_MDIDESTROY (WM_USER+1003)
#define WM_MDITILE (WM_USER+1004)
#define WM_MDICASCADE (WM_USER+1005)
#define WM_MDIICONARRANGE (WM_USER+1006)
#define WM_MDIRESTORE (WM_USER+1007)
#define WM_MDIMAXIMIZE (WM_USER+1008)
#define WM_MDISETMENU (WM_USER+1009)
#define WM_MDINEXT (WM_USER+1010)
#define WS_MDIAUTORESIZE (0x00008000L)
#define MDITILE_SKIPDISABLED 0x0001
#define MDITILE_HORIZONTAL 0x0002
#define MDITILE_VERTICAL 0x0004
#define CW_USEDEFAULT (0x80000000L)
VOID WinRegisterMDIClasses ( HAB hab );
INT WinArrangeIconicMDIDocuments ( HWND hwnd );
INT WinCascadeMDIDocuments ( HWND hwnd, ULONG ulFlags );
INT WinTileMDIDocuments ( HWND hwnd, ULONG ulFlags );
VOID WinStretchMDIDocuments ( HWND hwnd, LONG lStart, LONG lFinish );
BOOL WinRestoreMDIDocument ( HWND hwnd, HWND hwndDoc );
BOOL WinMaximizeMDIDocument ( HWND hwnd, HWND hwndDoc );
HWND WinActivateNextMDIDocument ( HWND hwnd, BOOL boolNext );
HWND WinActivateMDIDocument ( HWND hwnd, HWND hwndDoc );
HWND WinCreateMDIDocument ( HWND hwnd, MDICREATESTRUCT *pmcs );