Company Information Software Products TDF Market Reports Download Area take me Home

win_app.c - A simple Windows app shell

A nice shell to use as a hack & slash starting point for building a windows app.

Function WinMain
Include file WIN_APP.H
Prototype int WINAPI WinMain( HINSTANCE hInstance , HINSTANCE hPrevInstance , LPSTR lpCmdLine , int nCmdShow )
Remarks Main windows entry point.

Function update_library_global_vars
Include file WIN_APP.H
Prototype void update_library_global_vars( void )
Remarks Update the TDF_lib global vars with data from the user's command line.

Function print_usage
Include file WIN_APP.H
Prototype void print_usage( void )
Remarks Print a usage message to the user.

Function process_cmd_line_4_arguments
Include file WIN_APP.H
Prototype void process_cmd_line_4_arguments( void )
Remarks Process the user's command line arguments into a argv array which then is processed by the normal getargs() procedure to store the data into the programs switch flags.

Function control_c_handler
Include file WIN_APP.H
Prototype BOOL WINAPI control_c_handler( DWORD dwCtrlType )
Remarks A simple control-c handler.

Function localQSWndProc
Include file WIN_APP.H
Prototype LONG WINAPI localQSWndProc( HWND hWnd , UINT mesg , UINT wParam , LONG lParam )
Remarks Local WndProc for keyboard command handling.

Table of Contents Function Index

generated on 22 September 1998 - 12:56:04
© 1998 Tierra del Fuego Ltd.