Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #pragma comment(linker, \
- "\"/manifestdependency:type='Win32' "\
- "name='Microsoft.Windows.Common-Controls' "\
- "version='6.0.0.0' "\
- "processorArchitecture='*' "\
- "publicKeyToken='6595b64144ccf1df' "\
- "language='*'\"")
- #pragma comment(lib, "ComCtl32.lib")
- #include <windows.h>
- #include <tchar.h>
- #include <CommCtrl.h>
- #include "resource.h"
- class DialogWnd
- {
- private:
- HWND hDialog;
- BOOL ret;
- MSG msg;
- public:
- DialogWnd();
- DialogWnd(HINSTANCE hInstance, HINSTANCE h0, LPTSTR lpCmdLine, int nCmdShow);
- ~DialogWnd();
- int WINAPI InitWindow(HINSTANCE hInstance, HINSTANCE h0, LPTSTR lpCommandLine, int nCmdShow);
- static INT_PTR CALLBACK DialogProc(HWND hDialog, UINT uMsg, WPARAM wParam, LPARAM lParam);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement