Jump to content
Sign in to follow this  
gcue

set a control as always on top

Recommended Posts

gcue

i have a small gui that displays an embedded ie object (the site shows a webcam)

i am trying to trim off the top heading of the website so ive set the coordinates like this

$IEGUI = GUICtrlCreateObj($IE, -13, -18, 370, 285)

i am trying to set a combobox,checkbox and button at the very top of the gui so i have problems with the site overlapping the controls...

here's what ive tried - but it doesnt work too well

_IENavigate($IE, $URL, 0)

    Sleep(2000)

    GUICtrlSetState($always_on_top_checkbox, $gui_focus)
    GUICtrlSetState($set_default_btn, $gui_focus)
    GUICtrlSetState($URL_combo, $gui_focus)

ive also tried controlfocus, heck ive even tried guictrlsendmsg to see if i can bring it up on top

the controls show up if i pass my mouse cursor over them

any ideas?

Share this post


Link to post
Share on other sites
PsaltyDS

#include <GuiConstantsEx.au3>

; ...

GuiCtrlSetState($idCtrl, $GUI_ONTOP)

:mellow:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
gcue

thanks!

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  

×