Scope
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MovementPage.cpp
1
#include "
stdafx.h
"
2
#include "MovementPage.h"
3
#include "MovementSettingsSheet.h"
4
5
namespace
scope
{
6
namespace
gui {
7
8
BOOL
CMovementPage::OnInitDialog
(CWindow wndFocus, LPARAM lInitParam) {
9
// Replace placeholder with scan settings property sheet
10
HWND hWndPlaceHolder = GetDlgItem(IDC_MOVEMENTSETTINGS_HOLDER);
11
::ShowWindow(hWndPlaceHolder, FALSE);
12
CRect rc;
13
::GetWindowRect(hWndPlaceHolder, &rc);
14
ScreenToClient(&rc);
15
settings_sheet
.
Create
(m_hWnd, 0, rc);
16
17
SetMsgHandled(
false
);
18
return
0;
19
}
20
21
}
22
}
scope
Definition:
BaseController.h:6
scope::gui::CMovementPage::OnInitDialog
BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam)
Replace the placeholder with the CMovementSettingsSheet.
Definition:
MovementPage.cpp:8
scope::gui::CMovementSettingsSheet::Create
HWND Create(const HWND hWndParent, const int nStartPage, const CRect &rc)
Adds all the settingspages.
Definition:
MovementSettingsSheet.cpp:13
stdafx.h
This is the include file for standard system include files, or project specific include files that ar...
scope::gui::CMovementPage::settings_sheet
CMovementSettingsSheet settings_sheet
the setting sheets that contains the real stuff
Definition:
MovementPage.h:15
scope
gui
MovementPage.cpp
Generated on Sun Feb 15 2015 13:20:53 for Scope by
1.8.9