mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 16:49:12 +01:00
3ea2a1387c
Might or might not work for you, yet. Anyway, read the soon to be created forum thread on this plugin before asking any questions. Huge thanks to rodolfoosvaldobogado for helping me out in various areas. Also, thanks to everyone on IRC who supported me during development ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5680 8ced0084-cf51-0410-be5f-012b33b47a6e
37 lines
544 B
C++
37 lines
544 B
C++
#pragma once
|
|
|
|
namespace W32Util
|
|
{
|
|
#define MAX_WIN_DIALOGS 32
|
|
|
|
|
|
class TabControl
|
|
{
|
|
private:
|
|
|
|
HINSTANCE m_hInstance;
|
|
HWND m_hWndParent;
|
|
HWND m_hTabCtrl;
|
|
|
|
HWND m_WinDialogs[MAX_WIN_DIALOGS];
|
|
int m_numDialogs;
|
|
|
|
public:
|
|
|
|
TabControl(HINSTANCE _hInstance, HWND _hTabCtrl,DLGPROC _lpDialogFunc);
|
|
|
|
~TabControl(void);
|
|
|
|
//
|
|
// --- tools ---
|
|
//
|
|
|
|
HWND AddItem (char* _szText,int _iResource,DLGPROC _lpDialogFunc);
|
|
|
|
void SelectDialog (int _nDialogId);
|
|
|
|
void MessageHandler(UINT message, WPARAM wParam, LPARAM lParam);
|
|
};
|
|
|
|
}
|