MFDWindow::MFDWindow (HINSTANCE _hInst, const MFDSPEC &spec): ExternMFD (spec), hInst(_hInst) { hBtnFnt = 0; fnth = 0; vstick = false; oapiOpenDialogEx (hInst, IDD_MFD, DlgProc, DLG_ALLOWMULTI, this); }
void TabbedDialog::Open (HINSTANCE hInstance, bool allowMulti) { if (hDlg) return; hInst = hInstance; hDlg = oapiOpenDialogEx (hInst, dlgId, DlgProcHook, allowMulti ? DLG_ALLOWMULTI:0, this); }
void MGAFinder::OpenDialog() { hDlg = oapiOpenDialogEx(hInst, IDD_MGA_FINDER, MGAFinderProc, 0, this); }