@Button Re: TitleBar, Add an input onto the titlebar

"valery_vi" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
MsCreatoR from AutoItScript wrote:
http://www.autoitscript.com/forum/index.php?showtopic=41473
"Wow! Great idea!
I have taken it a litle bit to other direction, and have made this:
...
"

This example (maybe @Button.au3) can be more precise after two 
replacements.

1. Line #11, #12. Use sign @ instead of system icon:

$Button = GUICtrlCreateButton("@", 0, 0, 20, 20, 
$BS_ICON+$BS_DEFPUSHBUTTON)
;GUICtrlSetImage(-1, "shell32.dll", 137, 0)

2. Add GuiMove() before Line #40. And you will have lines (#40, #41):

GuiMove()
GuiSetState()

Thus, active window will have new button onto it's title apart from 
default buttons - '_,O,X'. Now you can associate with this @ button 
some action(s). The last one can be @-mode (AutoIt/Design/Special 
mode) of current active window. 

Valery
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.