Advertisement
Guest User

Untitled

a guest
Nov 6th, 2011
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <Windows.h>
  4.  
  5. class GUIMain
  6. {
  7.     private:
  8.         HINSTANCE hInstance;
  9.         HWND hWnd;
  10.  
  11.         HWND cmdBrowseInput, cmdBrowseDepth, cmdGenerate, cmdQuit, cmdHelp,
  12.              cmdAbout, tbPathInput, tbPathDepth, rbLoadDepth, rbPaintDepth;
  13.  
  14.         LRESULT CALLBACK wndProc(HWND, UINT, WPARAM, LPARAM);
  15.        
  16.         void handleCommand(int);
  17.  
  18.         void initialise(HWND);
  19.  
  20.     public:
  21.         GUIMain(HINSTANCE hInstance);
  22.         ~GUIMain();
  23.  
  24.         static LRESULT CALLBACK WndProcA(HWND, UINT, WPARAM, LPARAM);
  25.         static LRESULT CALLBACK WndProcB(HWND, UINT, WPARAM, LPARAM);
  26.  
  27.         void   Register();
  28.         bool   Create();
  29.         WPARAM Show(int);
  30. };
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement