home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 19.ddi / SAMPLES / BLANDMDI / BLANDMDI.H_ / BLANDMDI.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.1 KB  |  33 lines

  1. // Copyright 1991 Microsoft Corporation. All rights reserved.
  2.  
  3. #include "windows.h"
  4. #include "resource.h"
  5.  
  6. #define WINDOWMENU  1  /* position of window menu     */
  7. #define CBWNDEXTRA  0
  8.  
  9. #ifdef RC_INVOKED
  10. #define ID(id) id
  11. #else
  12. #define ID(id) MAKEINTRESOURCE(id)
  13. #endif
  14.  
  15. /* resource ID's */
  16. #define IDBLANDFRAME  ID(1)
  17. #define IDBLANDCHILD  ID(2)
  18. #define IDBLANDMENU   ID(3)
  19.  
  20. /* External variable declarations */
  21. extern HANDLE hInst;       /* application instance handle  */
  22. extern HWND hwndFrame;     /* main window handle           */
  23. extern HWND hwndMDIClient; /* handle of MDI Client window  */
  24. extern LONG styleDefault;  /* default child creation state */
  25. extern char szChild[];     /* class of child               */
  26.  
  27. /* External functions */
  28. extern BOOL FAR PASCAL InitializeApplication(VOID);
  29. extern BOOL FAR PASCAL InitializeInstance   (LPSTR,WORD);
  30. extern HWND FAR PASCAL MakeNewChild         (char *);
  31. extern LONG FAR PASCAL __export BlandFrameWndProc    (HWND,UINT,WPARAM,LPARAM);
  32. extern LONG FAR PASCAL __export BlandMDIChildWndProc (HWND,UINT,WPARAM,LPARAM);
  33.