MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / SelectionChanged

Method SelectionChanged

Source/SampleEditorDlg.cpp:283–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283void CSampleEditorDlg::SelectionChanged()
284{
285 if (m_pSampleEditorView->HasSelection()) {
286 GetDlgItem(IDC_DELETE)->EnableWindow(TRUE);
287 GetDlgItem(IDC_TILT)->EnableWindow(TRUE);
288 }
289 else {
290 GetDlgItem(IDC_DELETE)->EnableWindow(FALSE);
291 GetDlgItem(IDC_TILT)->EnableWindow(FALSE);
292 }
293}
294
295void CSampleEditorDlg::UpdateStatus(int Index, LPCWSTR Text) // // //
296{

Callers 2

OnMouseMoveMethod · 0.80
OnLButtonUpMethod · 0.80

Calls 1

HasSelectionMethod · 0.80

Tested by

no test coverage detected