#include <windows.h>

//Change the next line to the directory where
//your F3C headers are...
#define F3CDIR "../"

#include F3CDIR"bstring.h"

//Uncomment the following line if you want to
//have the GUI components automatically
//ID themselves.
//#define F_AUTOID

//You have to use the GUI controller with a program like this...
#include F3CDIR"gui_controller_start.h"

#include F3CDIR"application.h"
#include F3CDIR"form.h"

//You have to use the GUI controller with a program like this...
#include F3CDIR"gui_controller_end.h"

fFORM Window;

//When using BEGIN_GUI, these variables are automatically defined:
//HINSTANCE hThisInstance   - this instance of your program
//HINSTANCE hPrevInstance   - the previous instance of your program
//LPSTR CommandLineArgument - The Command Line arguments
//int nShowWindow           - A suggested way to show your window (ie. start
//                            minimised, or something like that).

BEGIN_GUI
     APPLICATION.CreateApp("YourClassName", asNormal | asRedrawOnResize, NULL);

     Window.CreateForm("Your Window Title Here", fsUsual, fsNormal);
     Window.SetSize(460, 360);
     Window.UpdateForm();
     Window.ShowForm(nShowWindow);
     Window.Center();
    
     //*****************************************
     //Your other initialisation code goes here.
     //*****************************************

     //Once the code reaches here, the program begins receiving messages!
END_GUI
