2 #include "ScopeButtonCtrl.h"
9 , scope_button(_butt) {
11 if ( _connectcontrolstate ) {
23 if ( SubclassWindow(hWnd) ) {
30 void CScopeButtonCtrl::Connect(
ScopeButton* _butt,
const bool& _connectcontrolstate) {
31 std::lock_guard<std::mutex> lock(
mutex);
34 if ( _connectcontrolstate ) {
41 void CScopeButtonCtrl::Disconnect() {
42 std::lock_guard<std::mutex> lock(
mutex);
51 ::PostMessage(GetParent(), WM_NEXTDLGCTL,
shiftstate, 0L);
56 return DefWindowProc(uMsg, wParam, lParam);
64 return DefWindowProc(uMsg, wParam, lParam);
68 std::lock_guard<std::mutex> lock(
mutex);
75 DBOUT(L
"CScopeButtonCtrl enable/disable " << state);
This is the include file for standard system include files, or project specific include files that ar...
#define DBOUT(s)
A debug output to the debug console.