Jump to content
Sign in to follow this  
AznSai

Add a button to the title bar.

Recommended Posts

AznSai

Can AutoIt be used to add another button to the title bar of an active window?

I want to add a button to the title bar of the current active window and have AutoIt do something when it is selected.

Share this post


Link to post
Share on other sites
sandyd

Have a search for ANYGUI in the forums, I think this is what you want


----[ SandyD ]---

Share this post


Link to post
Share on other sites
AznSai

Thanks for the reply, but no, Anygui doesnt do what i want to do. I want to add a button to the title bar, not anywhere else. If it can be done with Anygui could someone post some example code for me plz?

Share this post


Link to post
Share on other sites
quaizywabbit

I think you'll have to create your own custom title bar using a label..

is this a AutoIt Gui, or a 3rd party app?


[u]Do more with pre-existing apps![/u]ANYGUIv2.8

Share this post


Link to post
Share on other sites
Ghastly_MIB

Could you please place an example?

Share this post


Link to post
Share on other sites
AznSai

Here's an example of what I want to do:

I don't want to change the GUI of my script, I want to add another button to any other active window.

Share this post


Link to post
Share on other sites
theguy0000

if this would be possible, i would find it very useful. sorry, i dont know how.


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites
quaizywabbit

I know it's possible, because my ATI Display software does exactly as you describe, but I haven't figured out how to get a handle to just the window caption rect( if there is even such a thing)


[u]Do more with pre-existing apps![/u]ANYGUIv2.8

Share this post


Link to post
Share on other sites
LxP

I PMed AznSai earlier with the following response as it didn't seem too appropriate to publicly post it, but since a solution hasn't come to light yet...

PowerPro is a freeware utility that allows you to create button/icon bars, hotkeys, timers etc. with the ability to place such a bar within the caption of an active window.

This is a good solution if you are only wanting to implement this for yourself and whenever Windows is loaded.

Share this post


Link to post
Share on other sites
seandisanti

Here's an example of what I want to do:

I don't want to change the GUI of my script, I want to add another button to any other active window.

<{POST_SNAPBACK}>

I think this would involve modifying the window class definitions in the registry...

Share this post


Link to post
Share on other sites
Raindancer

sounds like a HOOK is necessary... out of AutoIt's range at the moment.

Lar.

<{POST_SNAPBACK}>

Plugins are comming :-)

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer

Share this post


Link to post
Share on other sites
AznSai

Plugins are comming :-)

<{POST_SNAPBACK}>

Even if plugins weren't coming I'm sure you could use a dll to do this anyway :whistle:.

Share this post


Link to post
Share on other sites
AznSai

did this for fun. adds a button to your title bar. knows right and left click. unfinished (some position tuning needed).

Lar.

<{POST_SNAPBACK}>

Thanks for your work Larry, I guess I'll have to use this or something similar until what I want to do becomes doable :whistle:.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×