Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu/Toolbar dlg in exe
#10
Sorry to bother you with another question about this, but if have the following situation (extracted from code above):

Where the first "int+ ApplicationHwnd=..." does not work because of the regex addition.
The line directly below does work, but targets the wrong window (if there are multiple).

Function tcmd_extension
Code:
Copy      Help
,,int+ ApplicationHwnd=win(F"^{ini_winname_main_app}" ini_winclass_main_app 0x200) ;; Does not work
,,int+ ApplicationHwnd=win(F"{ini_winname_main_app}" ini_winclass_main_app) ;; Works
,,;.
,,;.
,,;.
,,;
,,ifi(ApplicationHwnd) ;; Code below in 'gTimer'

Is there a way around this?
The window names are:
- "Total Commander" , for the first window
- "[#] Total Commander" for all the other windows (#=number beginning with '2' then '3' etc....)

It always needs to attach dialog-buttons to "Total Commander" not the one starting with "[#] "


Messages In This Thread

Forum Jump:


Users browsing this thread: 8 Guest(s)