2 #include "ScopeProgressCtrl.h"
11 , scopenum(_scopenum) {
20 if ( SubclassWindow(hWnd) ) {
36 ::PostMessage(m_hWnd, WM_UPDATECONTROL, NULL, NULL);
boost::signals2::connection ConnectGUI(signalchange_t::slot_type slot)
Connect signal to slot to GUI.
* CScopeProgressCtrl(ScopeNumber< double > *_scopenum)
()
void UpdateControl()
Updates the position from the ScopeNumber.
This is the include file for standard system include files, or project specific include files that ar...
bool created
true if window created
LRESULT OnUpdateControl(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
Worker for UpdateControl.
ScopeNumber< double > *const scopenum
Pointer to the underlying ScopeNumber.
BOOL AttachToDlgItem(HWND hWnd)
Attach the control to a dialog item and set range.
~CScopeProgressCtrl()
Disconnects.
Various helper functions and classes for Scope.
boost::signals2::connection valueconnection
The connection object for the control state (connection to the scopenum value change) ...