Scope
XYZControlPage.h
1 #pragma once
2 
3 #include "controls/ScopeEditCtrl.h"
4 #include "controls/ScopeButtonCtrl.h"
5 #include "controllers/ScopeController.h"
6 #include "controls\ScopeColorComboCtrl.h"
7 #include "resource.h"
8 
9 namespace scope {
10  namespace gui {
11 
14  public CPropertyPageImpl<CXYZControlPage> {
15 
16 protected:
19 
22 
25 
28 
31 
32 public:
33  enum { IDD = IDD_XYZCONTROL_PROPPAGE };
34 
38  CXYZControlPage(void);
39 
40  BEGIN_MSG_MAP_EX(CXYZControlPage)
41  MSG_WM_INITDIALOG(OnInitDialog);
42  REFLECT_NOTIFICATIONS()
43  END_MSG_MAP()
44 
48  BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
50 };
51 
52 }
53 }
Main controller of microscope hardware and acquisition, also interface to the GUI.
CScopeEditCtrl< double > zpos_edit
edit for the stage's z position
CXYZControlPage(void)
create the edit objects (e.g.
BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam)
attach the dialog controls to the edit objects
An adapted CButton control around a ScopeButton.
Property page for XYZ stage settings.
CScopeButtonCtrl setzero_button
button to set current position as zero
CScopeEditCtrl< double > xpos_edit
edit for the stage's x position
CScopeEditCtrl< double > ypos_edit
edit for the stage's y position
ScopeController scope_controller
Our ScopeController here.