
Untitled
By: a guest on
Nov 6th, 2011 | syntax:
C++ | size: 0.61 KB | hits: 13 | expires: Never
#pragma once
#include <Windows.h>
class GUIMain
{
private:
HINSTANCE hInstance;
HWND hWnd;
HWND cmdBrowseInput, cmdBrowseDepth, cmdGenerate, cmdQuit, cmdHelp,
cmdAbout, tbPathInput, tbPathDepth, rbLoadDepth, rbPaintDepth;
LRESULT CALLBACK wndProc(HWND, UINT, WPARAM, LPARAM);
void handleCommand(int);
void initialise(HWND);
public:
GUIMain(HINSTANCE hInstance);
~GUIMain();
static LRESULT CALLBACK WndProcA(HWND, UINT, WPARAM, LPARAM);
static LRESULT CALLBACK WndProcB(HWND, UINT, WPARAM, LPARAM);
void Register();
bool Create();
WPARAM Show(int);
};