home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / TUTORIAL.PAK / CPPOCF0.H < prev    next >
C/C++ Source or Header  |  1995-08-29  |  975b  |  37 lines

  1. // ---------------------------------------------------------------------------
  2. // Copyright (C) 1994 Borland International
  3. // CppOcf0.h
  4. // ---------------------------------------------------------------------------
  5. #if !defined(CPPOCF0_H)
  6. #define CPPOCF0_H
  7. #include "CppOcf0.rh"
  8.  
  9. //
  10. // Global defines
  11. //
  12. #define APPSTRING   "CppOcf0"
  13. #define MENUNAME    "CppOcf0Menu"
  14. #define CLASSNAME   "CppOcf0Class"
  15. #define TITLE       "CppOcf0 Window"
  16.  
  17. //
  18. // function prototypes
  19. //
  20. int PASCAL WinMain(HINSTANCE, HINSTANCE, char far*, int);
  21. bool InitApplication(HINSTANCE);
  22. bool InitInstance(HINSTANCE, int);
  23.  
  24.  
  25. //
  26. // Main Window functions
  27. //
  28. long CALLBACK _export MainWndProc(HWND, uint, WPARAM, LPARAM);
  29. bool MainWnd_OnCreate(HWND hwnd, CREATESTRUCT FAR* lpCreateStruct);
  30. void MainWnd_OnClose(HWND hwnd);
  31. void MainWnd_OnDestroy(HWND);
  32. void MainWnd_OnPaint(HWND hwnd);
  33. void MainWnd_OnCommand(HWND hwnd, int id, HWND hwndCtl, uint codeNotify);
  34.  
  35. #endif
  36.  
  37.