home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pentlk11.zip
/
IMAGES
/
PENTLKT1.IMG
/
unc.dsk
/
RECODISP.H
< prev
next >
Wrap
Text File
|
1994-01-13
|
3KB
|
84 lines
/*************************************************************************
*
* File Name : RECODISP.H
*
* Description : Example PENPM Aware Application
*
* Copyright (C) 1992 IBM Corporation
*
* DISCLAIMER OF WARRANTIES. The following [enclosed] code is
* sample code created by IBM Corporation. This sample code is not
* part of any standard or IBM product and is provided to you solely
* for the purpose of assisting you in the development of your
* applications. The code is provided "AS IS", without
* warranty of any kind. IBM shall not be liable for any damages
* arising out of your use of the sample code, even if they have been
* advised of the possibility of such damages. *
*
************************************************************************/
#define ID_CMD 1
#define CMD_STR "RecoDisp"
#define STR_1 11
#define STR_2 12
#define STR_3 13
#define STR_4 14
#define STR_5 15
#define STR_6 16
#define STR_7 17
#define STR_8 18
#define STR_9 19
#define LEN_CMD 128
#define LEN_ARG 260
#define LEN_PCMD 20
#define STR_LEN 80
#define ID_MAIN 1000
#define ID_CLEAR 2000
#define ID_EXIT 2001
#define RECO_MSG WM_USER + 1
#define WM_RECO_INFO WM_USER + 2
HAB habMain;
int main(VOID);
MRESULT EXPENTRY ClientWndProc(HWND, ULONG, MPARAM, MPARAM);
VOID GetString(HWND, ULONG, BOOL, APIRET, BOOL);
CHAR achVEID[][23] = {
"VE_TOGGLESELECTION ",
"VE_HELP ",
"VE_SPACE ",
"VE_EDIT ",
"VE_DELETE ",
"VE_PASTE ",
"VE_SCRATCHOUT ",
"VE_DELETECHAR ",
"VE_INSERT ",
"VE_CUT ",
"VE_COPY ",
"VE_ASSIGNMENTS ",
"VE_UNDO ",
"VE_ENTER ",
"VE_TAB ",
"VE_SCROLLUP ",
"VE_SCROLLDOWN ",
"VE_SCROLLLEFT ",
"VE_SCROLLRIGHT ",
"VE_SCROLLUPMORE ",
"VE_SCROLLDOWNMORE ",
"VE_SCROLLLEFTMORE ",
"VE_SCROLLRIGHTMORE ",
"VE_SCROLLUPMAX ",
"VE_SCROLLDOWNMAX ",
"VE_SCROLLLEFTMAX ",
"VE_SCROLLRIGHTMAX ",
"VE_BACKSPACE ",
"VE_EXTENDSELECTION ",
"VE_CONTEXTMENU ",
"VE_BOUNDSELECTIONLEFT ",
"VE_BOUNDSELECTIONRIGHT" };