MCPcopy Create free account
hub / github.com/M2Team/NanaBox / EnhancedSessionButtonClick

Method EnhancedSessionButtonClick

NanaBox/MainWindowControl.cpp:72–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void MainWindowControl::EnhancedSessionButtonClick(
73 winrt::IInspectable const& sender,
74 winrt::RoutedEventArgs const& e)
75 {
76 UNREFERENCED_PARAMETER(e);
77
78 ::PostMessageW(
79 this->m_WindowHandle,
80 WM_COMMAND,
81 (winrt::unbox_value<bool>(
82 sender.as<winrt::AppBarToggleButton>().IsChecked())
83 ? MAKEWPARAM(
84 NanaBox::MainWindowCommands::EnterEnhancedSession,
85 BN_CLICKED)
86 : MAKEWPARAM(
87 NanaBox::MainWindowCommands::EnterBasicSession,
88 BN_CLICKED)),
89 0);
90 }
91
92 void MainWindowControl::FullScreenButtonClick(
93 winrt::IInspectable const& sender,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected