10
TabControl(HWND handle, bool noDisplayArea = false);
11
void HandleNotify(LPARAM lParam);
12
HWND AddTabWindow(wchar_t* className, wchar_t* title, DWORD style = 0);
13
void AddTabDialog(Dialog* dialog, wchar_t* title);
14
void AddTab(HWND hwnd, wchar_t* title);
15
void ShowTab(int index, bool setControlIndex = true);
16
void ShowTab(HWND pageHandle);
17
void NextTab(bool cycle);
18
void PreviousTab(bool cycle);
19
int CurrentTabIndex() { return currentTab; }
20
HWND CurrentTabHandle() {
21
if (currentTab < 0 || currentTab >= (int)tabs.size()) {
24
return tabs[currentTab].pageHandle;
26
void SetShowTabTitles(bool enabled);
27
void SetIgnoreBottomMargin(bool enabled) { ignoreBottomMargin = enabled; }
28
bool GetShowTabTitles() { return showTabTitles; }
29
void SetMinTabWidth(int w);
32
static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
34
int AppendPageToControl(wchar_t* title);
47
std::vector<TabInfo> tabs;
49
bool ignoreBottomMargin;
b'\\ No newline at end of file'