Item Changed

Category: Controls - ListView

Date: 02-16-2022

Return to Index


 
                     Case %LVN_ItemChanged  '%NM_Click
                        pNMLV = Cb.LParam
                        If (@pNMLV.uChanged And %LVIF_STATE) = %LVIF_STATE Then  ' if state has changed
                            If (@pNMLV.unewstate And %LVIS_SELECTED) = %LVIS_SELECTED Then
                               ListView Get Select hDlg, %IDC_ListView To iResult
                               If Debug Then Txt.Print "%LVN_ItemChanged"
                               DisplayFileInBrowser(D(D(iResult-1).ptr).file)
                               Statusbar Set Text hDlg, %IDC_StatusBar, 1,0, "Thread: " + D(D(iResult-1).ptr).msg
                           En
                           
                           
'gbs_01247
'Date: 05-11-2013               


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm