2 #include "MainDlgView.h"
8 : m_ScanSingleButton(&scope_controller.StartSingleButton)
9 , m_ScanLiveButton(&scope_controller.StartLiveButton)
10 , m_StopButton(&scope_controller.StopButton)
11 , m_QuitButton(&scope_controller.QuitButton)
14 CMainDlgView::~CMainDlgView() {
15 DBOUT(L
"CMainDlgView::~CMainDlgView()\n");
21 HWND hWndPlaceHolder = GetDlgItem(IDC_SCANSETTINGS_HOLDER);
22 ::ShowWindow(hWndPlaceHolder, FALSE);
24 ::GetWindowRect(hWndPlaceHolder, &rc);
29 hWndPlaceHolder = GetDlgItem(IDC_EXPERIMENTSETTINGS_HOLDER);
30 ::ShowWindow(hWndPlaceHolder, FALSE);
31 ::GetWindowRect(hWndPlaceHolder, &rc);
44 BOOL CMainDlgView::PreTranslateMessage(MSG* pMsg) {
HWND Create(const HWND hWndParent, const int nStartPage, const CRect &rc)
Adds all the settingspages.
CExperimentSettingsSheet m_sheetExperimentSettings
the settings sheet for the different scan modes
BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam)
Replace placeholders with property sheets (for scan settings and experiment settings) ...
CMainDlgView()
Attach buttons to ScopeController.
This is the include file for standard system include files, or project specific include files that ar...
CScopeButtonCtrl m_QuitButton
to quit the application
#define DBOUT(s)
A debug output to the debug console.
CScopeButtonCtrl m_ScanSingleButton
to start single frame scan
HWND Create(const HWND hWndParent, const int nStartPage, const CRect &rc)
Adds the pages and do some magic.
CScopeButtonCtrl m_ScanLiveButton
to start live scanning
CScopeButtonCtrl m_StopButton
to stop whatever scanning
CScanSettingsSheet m_sheetScanSettings
the settings sheet with all the stuff