This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 6th, 2011  |  syntax: C++  |  size: 0.61 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  
clone this paste RAW Paste Data