Re: Floating Toolbar
larrydalooza <[email protected]> Wed, 03 Oct 2007 14:30:43 -0000
| Newsgroups | gmane.comp.windows.autoit.user |
|---|---|
| Message-ID | <[email protected]> |
> I want the toolbar to only float above a specific application and
not float
> on top of any other apps.
>
> I seem to get it right but after minimizing the app and restoring
use the
> toolbar does not return with the app.
does this get you started?
#include <GUIConstants.au3>
Run("calc")
WinWait("Calculator")
$hwnd = WinGetHandle("Calculator")
$pos = WinGetPos($hwnd)
$toolbar =
GUICreate("tools",300,25,$pos+10,$pos+60,$WS_CAPTION,$WS_EX_TOOLWINDOW,$hwnd)
GUISetState()
While WinExists($hwnd)
IF GUIGetMsg() = -3 Then Exit
WEnd