Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement