doc_and_tools/tools/apps/hg-helper/DlgMain.h

28 lines
500 B
C++

#pragma once
#include <Windows.h>
#include <string>
#include <vector>
#include "DlgBase.h"
// CDlgIndicator 对话框
class dlg_main: public dlg_base
{
HWND tab_;
BOOL handle_message(UINT msg, WPARAM wp, LPARAM lp) override;
void handle_command(WORD code, WORD id, HANDLE ctrl);
BOOL on_notify(int ctrl_id, LPNMHDR pnmh);
int add_page(const wchar_t* title, dlg_base* dlg);
dlg_base* select_page(int index);
void on_init_dlg(void);
public:
dlg_main(HWND parent);
~dlg_main();
};