Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialogue self-destroy
#3
Thank you very much for your interest regarding my inquiry. The actual process of events is as it follows :

GCTw_StTrig2 is triggered by a window and runs toolbar GCTweet_ToolB2, which it hooks GCTwHookProc2. The latter launches GCTw_Dlg2.

Best personal regards.

Function GCTw_StTrig2
Trigger !n"a" "b" /CHROME     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=TriggerWindow
int hwl=mac("GCTweet_ToolB2" hwnd)

Toolbar GCTweet_ToolB2
Code:
Copy      Help
;/hook GCTwHookProc2

Function GCTwHookProc2
Code:
Copy      Help
;/
function# hWnd message wParam lParam

sel message
,case WM_INITDIALOG
,hid id(9999 hWnd)
,if(!ShowDialog("GCTw_Dlg2" &GCTw_Dlg2 0 hWnd 1 WS_CHILD WS_POPUP|WS_CAPTION|WS_SYSMENU 0 0 4)) ret
,case WM_DESTROY
;,x._delete ;;(141027112533


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)