001
05.02.2007, 22:37 Uhr
xXx
Devil
|
C++: |
#include <windows.h> #include "stdafx.h" #include "resource.h" #define IDD_ABOUTBOX 103
BOOL CALLBACK DialogProc(HWND, UINT, WPARAM, LPARAM);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, char*, int) { return DialogBox(hInstance, MAKEINTRESOURCE(IDD_ABOUTBOX), NULL, DialogProc); }
BOOL CALLBACK DialogProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam) { switch(message) { case WM_INITDIALOG: { return TRUE; } break; case WM_CLOSE: { EndDialog(hDlg, 0); return TRUE; } break; } return FALSE; }
|
So sollte es sein ... |