Scope
StorageSettingsPage.h
1 #pragma once
2 
3 #include "controls/ScopeEditCtrl.h"
4 #include "controls/ScopeCheckBoxCtrl.h"
5 #include "../controllers/ScopeController.h"
6 #include "../resource.h"
7 
8 namespace scope {
9  namespace gui {
10 
13  public CPropertyPageImpl<CStorageSettingsPage> {
14 
15 protected:
18 
21 
24 
27 
30 
33 
34 
35 public:
36  enum { IDD = IDD_STORAGE_PROPPAGE };
37 
39 
40  BEGIN_MSG_MAP(CStorageSettingsPage)
41  MSG_WM_INITDIALOG(OnInitDialog);
42  COMMAND_HANDLER(IDC_FOLDER_BUTTON, BN_CLICKED, OnFolderButton)
43  REFLECT_NOTIFICATIONS()
44  END_MSG_MAP()
45 
49  BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
50 
52  LRESULT OnFolderButton(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
54 };
55 
56 }}
Main controller of microscope hardware and acquisition, also interface to the GUI.
CScopeCheckBoxCtrl compresstiff_checkbox
Checkbox for compress tiff option.
scope::ScopeController scope_controller
scope controller
CScopeEditCtrl< std::wstring > folder_edit
Edit control for storage folder.
Property page for storage related options.
LRESULT OnFolderButton(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL &bHandled)
Opens dialog for folder choosing.
CScopeCheckBoxCtrl savelive_checkbox
Checkbox for save live option.
BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam)
Handles dialog initialization.
CScopeCheckBoxCtrl usetifftags_checkbox
Checkbox for use tiff tags option.
An adapted CButton control as checkbox around a ScopeValue.
CScopeCheckBoxCtrl autosave_checkbox
Checkbox for automatic save option.