home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
videotlk.zip
/
SAMPLES
/
EX2
/
HELPFUNC.H
< prev
next >
Wrap
Text File
|
1995-08-31
|
4KB
|
78 lines
/*------------------------------------------------------------------*
* *
* Video Toolkit For OS/2 Version 1.0 *
* Example Application No. 2. *
* Written by Stephen Sloan. *
* Date : 22/02/95. *
* Copyright (c) Abbotsbury Software Ltd., United Kingdom. 1995. *
* *
* Filename : helpfunc.h *
* *
*------------------------------------------------------------------*/
/* String resource IDs */
#define HELP_BASE (0x2500)
#define IDS_TITLEBAR (HELP_BASE + 1)
#define IDS_CANNOTLOADSTRING (HELP_BASE + 10)
#define IDS_HELPLIBRARYNAME (HELP_BASE + 20)
#define IDS_HELPWINDOWTITLE (HELP_BASE + 21)
#define IDS_HELPLOADERROR (HELP_BASE + 22)
#define IDS_HELPDISPLAYERROR (HELP_BASE + 23)
#define IDS_HELPMANAGERERROR (HELP_BASE + 24)
#define IDS_ERRORMSG (HELP_BASE + 27)
#define IDS_UNKNOWNMSG (HELP_BASE + 28)
#define IDS_ERROR_READ (HELP_BASE + 29)
#define IDS_ERROR_OUTOFMEMORY (HELP_BASE + 30)
#define IDS_ERROR_TITLE (HELP_BASE + 31)
/* Help menu resource IDs */
#define IDM_HELP (HELP_BASE + 40)
#define IDM_USINGHELP (HELP_BASE + 41)
#define IDM_GENERALHELP (HELP_BASE + 42)
#define IDM_HELPINDEX (HELP_BASE + 43)
#define IDM_HELPABOUT (HELP_BASE + 44)
#define IDM_HELPPRODUCTINFO (HELP_BASE + 45)
#define IDM_TUTORIAL (HELP_BASE + 46)
#define IDM_KEYSHELP (HELP_BASE + 47)
#define IDM_HELPCONTENTS (HELP_BASE + 48)
/* Help table resource IDs */
#define HELP_TABLE (HELP_BASE + 50)
#define SUBTABLE_MAIN (HELP_BASE + 51)
#define SUBTABLE_PRODUCTINFODLG (HELP_BASE + 49)
#define PANEL_MAIN (HELP_BASE + 52)
#define PANEL_HELP (HELP_BASE + 53)
#define PANEL_GENERALHELP (HELP_BASE + 54)
#define PANEL_USINGHELP (HELP_BASE + 55)
#define PANEL_TUTORIAL (HELP_BASE + 56)
#define PANEL_KEYSHELP (HELP_BASE + 57)
#define PANEL_HELPINDEX (HELP_BASE + 58)
#define PANEL_HELPPRODUCTINFO (HELP_BASE + 59)
#define PANEL_PRODUCTINFO_OK (HELP_BASE + 60)
#define PANEL_EXTENDED_CONTENTS (HELP_BASE + 52)
#define PANEL_PRODUCTINFODLG (HELP_BASE + 61)
#define PANEL_HELPCONTENTS (HELP_BASE + 62)
#define IDD_PRODUCTINFO (HELP_BASE + 63)
#define MSGBOXID (HELP_BASE + 100)
#define HELPLIBRARYNAMELEN (20)
#define MESSAGELEN (80)
/* IPF functions */
extern VOID DestroyHelpInstance (VOID);
extern VOID DisplayHelpPanel (SHORT);
extern VOID HelpExtended (VOID);
extern VOID HelpKeys (VOID);
extern VOID HelpHelpForHelp (VOID);
extern VOID HelpIndex (VOID);
extern VOID HelpContents (VOID);
extern VOID HelpAbout(VOID);
extern VOID HelpTutorial (VOID);
extern VOID InitHelp (VOID);
extern VOID HelpInit (HWND);
extern MRESULT EXPENTRY AboutDlgProc (HWND hwndDlg, ULONG msg,
MPARAM mp1, MPARAM mp2);