Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar properties (mov)
#1
is there a way to make the mov property use fractional coordinates?

i have a toolbar that i would love to have it sit right next to the minimize button on the window tittle no matter how much i change the window size.
An old blog on QM coding and automation.

The Macro Hook
#2
If you drag the toolbar to the top-right window corner, its coordinates become relative to that corner. You can also uncheck "Auto select" in toolbar right click menu.

To set fractional coordinates, use a function or {code} with /mov. Example:

Code:
Copy      Help
;/mov {GetWinXY val(_command) 0 0 _i; ret 0.1*_i} 0
#3
wow...that's nice code there!
the best way to set the position so it moves with the min/max/close buttons is set the flag '0x100' and drag it over there then restart the window (for triggering purposes)....that'll make a blog post somewhere :wink:


thanks!
An old blog on QM coding and automation.

The Macro Hook


Forum Jump:


Users browsing this thread: 1 Guest(s)