MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / OnDblclkVolumeList

Method OnDblclkVolumeList

Ext2Mgr/Ext2MgrDlg.cpp:1146–1166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144}
1145
1146void CExt2MgrDlg::OnDblclkVolumeList(NMHDR* pNMHDR, LRESULT* pResult)
1147{
1148 // TODO: Add your control notification handler code here
1149 BOOL bIsExt2 = FALSE;
1150
1151 if (!m_bFsStarted) {
1152 m_bFsStarted = Ext2IsServiceStarted();
1153 }
1154
1155 m_bFocusVolume = TRUE;
1156 m_IndexVolume = m_VolumeList.GetSelectionMark();;
1157 m_bFocusDisk = FALSE;
1158 if (QuerySelectedItem(&bIsExt2)) {
1159 if (bIsExt2 && m_bFsStarted) {
1160 SendMessage(WM_COMMAND, ID_CHANGE, 0);
1161 } else {
1162 SendMessage(WM_COMMAND, ID_PROPERTY, 0);
1163 }
1164 }
1165 *pResult = 0;
1166}
1167
1168void CExt2MgrDlg::OnSetfocusVolumeList(NMHDR* pNMHDR, LRESULT* pResult)
1169{

Callers

nothing calls this directly

Calls 1

Ext2IsServiceStartedFunction · 0.85

Tested by

no test coverage detected