Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect a click on a SHDocVw control within a QM dialog
#1
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
Code:
Copy      Help
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


Messages In This Thread
Detect a click on a SHDocVw control within a QM dialog - by r0n - 08-29-2019, 01:03 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)