Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Captionless, movable smart dialog?
#18
Code:
Copy      Help
\Dialog_Editor

function# hDlg message wParam lParam
if(hDlg) goto messages

;BEGIN DIALOG
;0 "" 0x92000A40 0x0 0 0 230 273 "Dialog"
;1 Button 0x54030001 0x0 94 154 48 14 "OK"
;3 ActiveX 0x54000000 0x50000 64 44 248 179 "SHDocVw.WebBrowser"
;END DIALOG
;DIALOG EDITOR: "" 0x2020007 "Macro43" ""


ret
;messages
sel message
,case WM_LBUTTONDOWN
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
,case [WM_LBUTTONDOWN,WM_LBUTTONUP,WM_MOUSEMOVE] DragDialog(hDlg message)
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1

Macro43 just called this function and passed the page to the browser.


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)