08-29-2019, 01:03 AM
Is it possible to detect a click (left/right/mid) on SHDocVw control within a QM dialog?
(A click on any part within the shdocvw control, meaning: scrollbar, sort columns,...etc...)
Function detect_click_on_shdoc
(A click on any part within the shdocvw control, meaning: scrollbar, sort columns,...etc...)
Function detect_click_on_shdoc
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog"
;3 ActiveX 0x54000000 0x0 5 5 210 119 "SHDocVw.WebBrowser"
;END DIALOG
;DIALOG EDITOR: "" 0x2040601 "*" "" "" ""
str controls = "3"
str ax3SHD
ax3SHD="d:\"
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1