
/* appdefs.h	   Created:    1993-12-21  Revised:    1995-11-04	*/

/* Test	Bed OS/2 Presentation Manager Definitions Header		*/

/* Copyright ¸ 1989-1995  Prominare Inc.  All Rights Reserved.		*/

/* --- Window Definitions ---------------------------------------------	*/

extern FONTMETRICS fm;		   /* Font Metrics Info			*/
extern HSWITCH	   hSwitch;	   /* Task List	Entry Handle		*/
extern HAB	   hAB;		   /* Program Anchor Block Handle	*/
extern HMQ	   hmqTestBed;	   /* Program Message Queue Handle	*/
extern HWND	   hwndTestBed;	   /* Client Window Handle		*/
extern HWND	   hwndTestBedFrame;/* Frame Window Handle		*/
extern HWND	   hmenuTestBed;   /* Menu Handle			*/

extern CHAR	   szDLL[CCHMAXPATH];  /* PMCX DLL Name			*/

extern HPOINTER	   hptrWait;	   /* Wait Pointer Handle		*/
extern HPOINTER	   hptrArrow;	   /* Arrow Pointer Handle		*/

/* --- Support.C Function Definitions ---------------------------------	*/

VOID InitProg(VOID);
HWND CreateStdWindow(HWND hwndParent, ULONG flStyle, ULONG flCreateFlags,
		     PSZ pszClientClass, PSZ pszTitle, ULONG styleClient,
		     HMODULE hmod, ULONG idResources, PHWND phwndClient,
		     LONG x, LONG y, LONG cx, LONG cy);
MRESULT	PDSKeyProc(HWND	hWnd, ULONG msg, MPARAM	mp1, MPARAM mp2);
VOID PDSGetTemplate(HWND hWnd, ULONG id);

/* --- TestDlg.C Function Definitions ---------------------------------	*/

MRESULT	EXPENTRY TestDlgProc(HWND hWnd,	ULONG msg, MPARAM mp1, MPARAM mp2);
MRESULT	EXPENTRY AboutDlgProc(HWND hWnd, ULONG msg, MPARAM mp1,	MPARAM mp2);
MRESULT	EXPENTRY LoadPMCXDLLDlgProc(HWND hWnd, ULONG msg, MPARAM mp1, MPARAM mp2);

/* --- TestWnd.C Function Definitions ---------------------------------	*/

MRESULT	EXPENTRY TestWndProc(HWND hWnd,	ULONG msg, MPARAM mp1, MPARAM mp2);

/* --- Custom Control Prototypes --------------------------------------	*/

BOOL EXPENTRY RegisterIDBox(HAB	hab);
