sCreateApplication - The Most Important Struct

This structure houses the most important data for your application, things from X and Y coordinates to the title of the application. Without further adiue, here is the struct as seen in skygi/skygi.h:

typedef struct sCreateApplication
{
	char          ucApplicationName[255];
	int           uiX;
	int           uiY;
	unsigned int  uiWidth;
	unsigned int  uiHeight;

	void *fwndClient;
	unsigned int uiStyleApplication;
	unsigned int uiStyleFrame;
	unsigned int uiStyleTitle;
	unsigned int uiStyleMenu;
	unsigned int uiStyleBar;
	unsigned int uiStyleClient;
	unsigned int uiBackGroundColor;
	unsigned int uiApplicationIcon;
	HANDLE       pFrameMenu;

	unsigned int uiReserved[128];

	void (*PostCreateWindowBitmap)(HANDLE hWnd, void *pGCBuf);
} sCreateApplication;

Explanations:

Member Name Description Possible Values
ucApplicationName[] Name of the Application to be displayed in the title bar The name of your application. If you do not input anything for this value the program will not show up in the Panel.
uiX X coordinate of top left corner at runtime  
uiY Y coordinate of top left corner at runtime  
uiWidth Window width in pixels  
uiHeight Window width in pixels  
*fwndClient Name of event handler function  
uiStyleApplication General settings WF_HAS_MENU, WF_HAS_STATUSBAR, WF_NO_TITLE, WF_POPUP, WF_DESKTOP
uiStyleFrame Describes how the frame of the Window will be displayed and will behave WF_FRAME_NO_ROUND_EDGES_TOP, WF_FRAME_NO_ROUND_EDGES_BOTTOM, WF_FRAME_ROUND_EDGES_BACKGROUND_BLACK, WF_FRAME_NO_SHADOW, WF_FRAME_NO_FRAME, WF_FRAME_ROUND_EDGES_BOTTOM, WF_FRAME_NOT_MOVEABLE, WF_FRAME_OWN_SHAPE, WF_FRAME_THIN
uiStyleTitle Describes how and which buttons will be displayed WF_TITLE_NO_MAXIMIZE, WF_TITLE_NO_MINIMIZE, WF_TITLE_NO_CLOSE, WF_TITLE_NO_BUTTONS, WF_TITLE_SMALL_TITLE
uiStyleMenu    
uiStyleBar    
uiStyleClient   WF_DONT_ERASE_BACKGROUND
uiBackGroundColor    
uiApplicationIcon    
*pFrameMenu Name of pointer to top level menu  

Explanations of Possible Values:

Name Description Example
Normal Window Defaults Set Window with defaults set
WF_TITLE_NO_MAXIMIZE Does not display the Maximize button Example of WF_TITLE_NO_MAXIMIZE
WF_TITLE_NO_MINIMIZE Does not display the Minimize button Example of WF_TITLE_NO_MINIMIZE
WF_TITLE_NO_CLOSE Does not display the Close button Example of WF_TITLE_NO_CLOSE
WF_TITLE_NO_BUTTONS Does not display Maximize, Minimize, or Close buttons Example of WF_TITLE_NO_BUTTONS
WF_HAS_MENU If set, the menu specified with pFrameMenu will displayed as a window menu bar  
WF_HAS_STATUSBAR If set, a status bar window will be created Example of WF_HAS_STATUSBAR
WF_NO_TITLE Don't create a title bar  
WF_POPUP Handle window as a popup menu (no frame, no visual representation in the SkyOS panel menu)  
WF_DESKTOP Create a new virtual desktop  
WF_FRAME_OWN_SHAPE Don't create a window shape automatically  
WF_FRAME_NO_SHADOW Don't display a shadow around the window Example of WF_FRAME_NO_SHADOW
WF_FRAME_NOT_MOVEABLE Window is not moveable  
WF_FRAME_NOT_SIZEABLE Window is not sizeable  
WF_DONT_ERASE_BACKGROUND Don't redraw the background on a redraw event