File:  [OS/2 SDKs] / pmsdk / samples / fonttest / fonttest.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1988, HEAD
Microsoft OS/2 SDK PM 08-08-1988

/*
   FONTTEST header file
   Created by Microsoft Corp., 1988
*/
#define ID_FONTTEST	1

#define IDM_SAMPLE     91
#define IDM_CLEAR      92
#define IDM_OPTIONS    93
#define IDM_ABOUT      94

#define IDOK            1
#define IDCANCEL        2
#define IDITALIC        3
#define IDUNDERLINE     4
#define IDSTRIKEOUT     5
#define IDHEIGHT        6
#define IDWIDTH         7
#define IDWEIGHT        8
#define IDAVCHARWIDTH   9
#define IDMAXCHARINC   10
#define IDFONTDESIRED  11
#define IDFONTINUSE    12
#define IDCODEPAGE     13
#define IDPITCH        14
#define IDFMHEIGHT     15
#define IDFMWIDTH      16
#define IDFMWEIGHT     17
#define IDFMCODEPAGE   18
#define IDFMPITCH      19
#define IDXSHEAR       20
#define IDYSHEAR       21
#define IDXANGLE       22
#define IDYANGLE       23

/* String table constants */
#define IDS_NAME      100
#define IDS_TITLE     200
#define IDS_ALPHABET  300

/* Dialog box resource ids */
#define IDD_ABOUT       1
#define IDD_OPTIONS     2

/* User window longword ids */
#define ID_NOSHOW       0
#define ID_SHOW         1
#define ID_REDRAW       2

#define ID_LCID        70 

#define CCHMAX         60
#define MAXLINES      100 
#define FONTSAVAIL     20

int cdecl main(void);

MRESULT EXPENTRY FonttestWndProc   ( HWND, USHORT, MPARAM, MPARAM );
MRESULT EXPENTRY fnAboutDlg  ( HWND, USHORT, MPARAM, MPARAM );
MRESULT EXPENTRY fnOptionsDlg( HWND, USHORT, MPARAM, MPARAM );

VOID PASCAL RedrawScreen( HWND, HPS );
VOID PASCAL ShowSampleString( HWND, HPS );
VOID PASCAL InitDlg( HWND );
VOID PASCAL DlgCommand( HWND, MPARAM );
VOID PASCAL FonttestCommand( HWND, USHORT );

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.