I'm trying to display in the statusbar the value of a global, but only when the mouse is moved over the "download" button.
Here's an outline of what I've got. (All the rest of the code in the callback works fine, so I'm only showing what's NOT working.)
Do I need to enable something else, before a %wm_mousehover can be detected?
P.S. I have no idea how this message got that thumbs up icon...???
Here's an outline of what I've got. (All the rest of the code in the callback works fine, so I'm only showing what's NOT working.)
Code:
CallBack Function DlgProc() As Long LOCAL whatever... ... Select Case CbMsg Case %wm_initdialog ... Case %wm_command 'example of other stuff that works just fine: If Cb.Ctl = %CMD_Clear And Cb.CtlMsg = %bn_clicked Then SendMessage hList, %LB_RESETCONTENT, 0, 0 End If ... [B] Case %wm_mousehover 'show storage location when mouse moves over Download button If Cb.Ctl = %CMD_DownloadFiles Then Statusbar Set Text hDlg, %SB_statusbar, 1, 0, "Current storage location: " & gStorageLocation End If Case %wm_mouseleave If Cb.Ctl = %CMD_DownloadFiles Then Statusbar Set Text hDlg, %SB_statusbar, 1, 0, "" End If[/B] Case %wm_destroy ... End Select
P.S. I have no idea how this message got that thumbs up icon...???
Comment