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

Method OnDblclkDiskList

Ext2Mgr/Ext2MgrDlg.cpp:977–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

975}
976
977void CExt2MgrDlg::OnDblclkDiskList(NMHDR* pNMHDR, LRESULT* pResult)
978{
979 // TODO: Add your control notification handler code here
980 BOOL IsExt2 = FALSE;
981 m_bFocusVolume = FALSE;
982 m_bFocusDisk = TRUE;
983 m_IndexDisk = m_DiskView.GetSelectionMark();
984
985 if (!m_bFsStarted) {
986 m_bFsStarted = Ext2IsServiceStarted();
987 }
988
989 if (QuerySelectedItem(&IsExt2)) {
990 if (IsExt2 && m_bFsStarted) {
991 SendMessage(WM_COMMAND, ID_CHANGE, 0);
992 } else {
993 SendMessage(WM_COMMAND, ID_PROPERTY, 0);
994 }
995 }
996
997 *pResult = 0;
998}
999
1000void CExt2MgrDlg::OnSetfocusDiskList(NMHDR* pNMHDR, LRESULT* pResult)
1001{

Callers

nothing calls this directly

Calls 1

Ext2IsServiceStartedFunction · 0.85

Tested by

no test coverage detected