Sign in to follow this  
Followers 0
AznSai

Add a button to the title bar.

13 posts in this topic

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



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

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

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

Could you please place an example?

Share this post


Link to post
Share on other sites

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

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

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

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

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...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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

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

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  
Followers 0