
#define IDM_DIALOG	100
#define	IDM_EXIT	101
#define	IDM_HELP	102

#define	IDD_TOP		204
#define IDD_BOTTOM	205
#define IDD_INVERT	207

#define IDD_LB1		301
#define IDD_EB1		401
#define IDD_CB1		501
#define	IDD_CB2		502
#define	IDD_CB3		503

#define	IDD_RB1		601
#define IDD_RB2		602
#define	IDD_RB3		603
	
#define	VK_F1		112
#define VK_F2		113		
#define VK_F3		114
#define VK_F4		115
#define VK_F5		116
#define	VK_F6		117

#define LBS_NOTIFY          0x0001L
#define WS_BORDER	    0x00800000L
#define WS_HSCROLL	    0x00100000L
#define WS_VSCROLL	    0x00200000L
#define WS_TABSTOP	       0x10000L	
#define WS_SYSMENU          0x00080000L
#define WS_CAPTION            0xC00000L
#define WS_VISIBLE          0x10000000L
#define WS_CHILD	    0x40000000L
#define WS_POPUP	    0x80000000L
#define	WIZ_CXDLG	276
#define WIZ_CYDLG	140
#define WIZ_BODYX	92

wizbmp	BITMAP	bp1.bmp

// Menu

MYMENU MENU
{
	POPUP  "&Wizard Demo" 
	{
	  MENUITEM  "&Start Wizard",	IDM_DIALOG	
	  MENUITEM  "&Exit",		IDM_EXIT
	}
	MENUITEM    "&Help",		IDM_HELP
}

//	Accelerator

MYMENU ACCELERATORS
{
	VK_F1,	IDM_HELP,	VIRTKEY
	VK_F2,	IDM_DIALOG,	VIRTKEY		
	VK_F3,	IDM_EXIT,	VIRTKEY
}

MYDB	DIALOG 10, 10, WIZ_CXDLG, WIZ_CYDLG
CAPTION "Wizard Demo - First Page"
STYLE   WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
{
  LISTBOX       IDD_LB1, 56+WIZ_BODYX, 25, 50, 33, LBS_NOTIFY |
                WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP
}

MYDB2	DIALOG 10, 10, WIZ_CXDLG, WIZ_CYDLG
CAPTION "Wizard Demo - Second Page"
STYLE   WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
{
  DEFPUSHBUTTON "Invert", IDD_INVERT, WIZ_BODYX, 10, 32, 14,
                WS_CHILD | WS_VISIBLE | WS_TABSTOP
  AUTOCHECKBOX  "Check Box 1", IDD_CB1, 56+WIZ_BODYX, 10, 70, 10
  AUTOCHECKBOX  "Check Box 2", IDD_CB2, 56+WIZ_BODYX, 30, 70, 10
  AUTOCHECKBOX  "Check Box 3", IDD_CB3, 56+WIZ_BODYX, 50, 70, 10
                
}

MYDB3	DIALOG 10, 10, WIZ_CXDLG, WIZ_CYDLG
CAPTION "Wizard Demo - Third Page"
STYLE   WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
{
  DEFPUSHBUTTON "Top", IDD_TOP, 0, 10, 32, 14,
                WS_CHILD | WS_VISIBLE | WS_TABSTOP
  PUSHBUTTON    "Bottom", IDD_BOTTOM, 0, 34, 32, 14,
                WS_CHILD | WS_VISIBLE | WS_TABSTOP
  AUTORADIOBUTTON  "Radio Button 1" IDD_RB1, 56, 10, 70, 10
  AUTORADIOBUTTON  "Radio Button 2" IDD_RB2, 56, 30, 70, 10
  AUTORADIOBUTTON  "Radio Button 3" IDD_RB3, 56, 50, 70, 10
} 

