Scope
FrameScanHopperPage.h
1 #pragma once
2 
3 #include "FrameScanBasePage.h"
4 #include "controls/ScopeSliderCtrl.h"
5 #include "controls/ScopeEditCtrl.h"
6 #include "controls/ScopeButtonCtrl.h"
7 #include "controls/ScopeCheckBoxCtrl.h"
8 #include "controllers/ScopeController.h"
9 #include "resource.h"
10 
11 namespace scope {
12  namespace gui {
13 
16  : public CFrameScanBasePage {
17 
18 protected:
20  CListViewCtrl planes_list;
21 
22 public:
23  enum { IDD = IDD_FRAMESCAN_HOPPER_PROPPAGE };
24 
28  CFrameScanHopperPage(const uint32_t& _area);
29 
30  BEGIN_MSG_MAP(CFrameScanHopperPage)
31  COMMAND_HANDLER(IDC_ADDPLANE_BUTTON, BN_CLICKED, OnAddPlane)
32  COMMAND_HANDLER(IDC_DELETEPLANE_BUTTON, BN_CLICKED, OnDeletePlane)
33  CHAIN_MSG_MAP(CFrameScanBasePage)
34  END_MSG_MAP()
35 
39  BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
40  LRESULT OnAddPlane(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
41  LRESULT OnDeletePlane(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
45  void UpdatePlanesList();
46 };
47 
48 }}
CFrameScanHopperPage(const uint32_t &_area)
create the edit objects (e.g.
Base class for all frame scan property pages.
Property page for bidirectional frame scan.
void UpdatePlanesList()
updates the list view ctrl on add/delete plane
CListViewCtrl planes_list
list box for all planes