Scope
scope::gui::CMovementSettingsSheet Class Reference

#include <MovementSettingsSheet.h>

Inherits CPropertySheetImpl< CMovementSettingsSheet >.

Public Member Functions

 CMovementSettingsSheet (void)
 

Protected Attributes

CXYZControlPage xyzcontrolpage
 
std::array< std::unique_ptr< CFPUControlPage >, SCOPE_NAREAS > fpupages
 

Called via Win32 messages

Override Create and use Callback to switch to child window style during creation since Property sheets are popups as standard (Windows not WTL I think)

HWND Create (const HWND hWndParent, const int nStartPage, const CRect &rc)
 
LRESULT OnSelChange (WPARAM wParam, LPNMHDR pnmHdr, BOOL &bHandled)
 
static int CALLBACK PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
 

Detailed Description

Settings sheet that has settings pages for all movement/stages related stuff, resided inside the CMovementPage.

Definition at line 11 of file MovementSettingsSheet.h.

Constructor & Destructor Documentation

scope::gui::CMovementSettingsSheet::CMovementSettingsSheet ( void  )

Creates the CFPUControlPages (they do not have a default constructor, so we need pointers and construct them here)

Definition at line 7 of file MovementSettingsSheet.cpp.

Member Function Documentation

HWND scope::gui::CMovementSettingsSheet::Create ( const HWND  hWndParent,
const int  nStartPage,
const CRect &  rc 
)

Adds all the settingspages.

Definition at line 13 of file MovementSettingsSheet.cpp.

int CALLBACK scope::gui::CMovementSettingsSheet::PropSheetCallback ( HWND  hWnd,
UINT  uMsg,
LPARAM  lParam 
)
static

We need this for whatever (see some WTL dialog tutorial)...

Definition at line 43 of file MovementSettingsSheet.cpp.

Member Data Documentation

CXYZControlPage scope::gui::CMovementSettingsSheet::xyzcontrolpage
protected

a settings page for XYZ stage

Definition at line 16 of file MovementSettingsSheet.h.

std::array<std::unique_ptr<CFPUControlPage>, SCOPE_NAREAS> scope::gui::CMovementSettingsSheet::fpupages
protected

settings pages for each FPU

Definition at line 19 of file MovementSettingsSheet.h.


The documentation for this class was generated from the following files: