home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / SETOPT.ZIP / SETOPT.H < prev    next >
C/C++ Source or Header  |  1990-09-06  |  1KB  |  32 lines

  1. /* KNB Version 2.00 */
  2. #define INCL_PM
  3. #include <os2.h>
  4. #include "SETOPT.rch"
  5.  
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include <string.h>
  9. #include <ctype.h>
  10. #define WM_FAILEDVALIDATE (WM_USER+0)
  11.  
  12. /* these structures are used to add the program name to the task list      */
  13. EXTERN HSWITCH hSwitch;
  14. EXTERN SWCNTRL Swctl;
  15.  
  16. EXTERN CHAR szAppName[20]; /* class name of application                    */
  17.  
  18.  
  19. EXTERN HAB  hAB;         /* Handle to the Anchor Block                     */
  20. EXTERN HMQ  hMQ;         /* Handle to the Message Queue                    */
  21. EXTERN HWND hWndFrame;   /* Handle to the Window Frame                     */
  22. EXTERN HWND hWndClient;  /* Handle to the Client Window                    */
  23.  
  24.  
  25. /* Function prototypes                                                     */
  26. INT cwRegisterClass(VOID);
  27. HWND cwCreateWindow(HWND, ULONG, PCH, PCH, USHORT, INT, INT, INT, INT, PHWND, ULONG, USHORT);
  28.  
  29. MRESULT EXPENTRY WndProc(HWND, USHORT, MPARAM, MPARAM);
  30. MRESULT EXPENTRY SETFONTMsgProc(HWND, USHORT, MPARAM, MPARAM);
  31. MRESULT EXPENTRY SETCOLORMsgProc(HWND, USHORT, MPARAM, MPARAM);
  32.