-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,11 @@ | ||
//+--------------------------------------------------------------------------- | ||
// | ||
// HELLO_WIN.C - Windows GUI 'Hello World!' Example | ||
// | ||
//+--------------------------------------------------------------------------- | ||
|
||
#include <windows.h> | ||
|
||
#define APPNAME "HELLO_WIN" | ||
|
||
char szAppName[] = APPNAME; // The name of this application | ||
char szTitle[] = APPNAME; // The title bar text | ||
const char *pWindowText; | ||
|
||
void CenterWindow(HWND hWnd); | ||
|
||
//+--------------------------------------------------------------------------- | ||
// | ||
// Function: WndProc | ||
// | ||
// Synopsis: very unusual type of function - gets called by system to | ||
// process windows messages. | ||
// | ||
// Arguments: same as always. | ||
//---------------------------------------------------------------------------- | ||
|
||
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) | ||
{ | ||
return 0; | ||
} | ||
|
||
//+--------------------------------------------------------------------------- | ||
// | ||
// Function: WinMain | ||
// | ||
// Synopsis: standard entrypoint for GUI Win32 apps | ||
// | ||
//---------------------------------------------------------------------------- | ||
int WinMain( | ||
HINSTANCE hInstance, | ||
HINSTANCE hPrevInstance, | ||
LPSTR lpCmdLine, | ||
int nCmdShow | ||
) | ||
{ | ||
|
||
return 0; | ||
return 0; | ||
} | ||
|
||
//+--------------------------------------------------------------------------- | ||
|
||
//+--------------------------------------------------------------------------- | ||
|
||
//+--------------------------------------------------------------------------- |