The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog OW [JUST LIKE TOOLBAR OW ATTATCH]
#1
Hello...
I have searched the forum & found these [3 links] about assigning an OWNER WINDOW to a DIALOG when it is CALLED BY A TRIGGER=
http://www.quickmacros.com/forum/showthr...8#pid14028

http://www.quickmacros.com/forum/showthr...3#pid13133

http://www.quickmacros.com/forum/showthr...9#pid12939
None of them helped me, either very inexplanatory, or not what I'm looking for. I am pretty good with QM so it shouldn't take much explaining. Appreciate who replys & helps me out.

I need to assign an OWNER WINDOW HANDLE to a DIALOG this is what I have so far, & it is not working for me!:

Macro
Code:
Copy      Help
int h=win("Notepad" "")
;;;\Dialog_Editor
str controls = "3"
str e3
if(!ShowDialog("" 0 0 h 0 0 0 0 408 140)) ret 1
;BEGIN DIALOG
;0 "" 0x90C80240 0x100 0 0 101 94 "Dialog"
;1 Button 0x54030001SCOTT32_CreationComplete 0x4 1 78 48 14 "OK"
;2 Button 0x54030000 0x4 51 78 48 14 "Cancel"
;3 Edit 0x54230844 0x20000 1 1 98 75 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2030009 "" "" ""

When notepad window is active, I need the dialog to be assigned to it. I.E. when it is minimised, so is the Dialog. I also need to be able to move the dialog to a certain spot on the OWNWER WINDOW assigned , in this case: notepad. whilst staying in the same spot that it was moved to , when notepad window if moved. & being attached ect...
Also, when window is closed, (OWNER destroyed) close the dialog...

I have tried everything for the last hour, & getting quite irratated, help is appreciated! [Thanks In Advance] - Scottie


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)