Jump to content
Sign in to follow this  

On Top Problem

Recommended Posts


With a team effort, we came up with a toolbar that works with SciTE. I found a problem however, that I would like assistance in solving.

link to file: http://www.autoitscript.com/forum/index.php?showtopic=25076

The problem is with this line of code:

Global $My_Hwnd = GUICreate("SciTE interface", 100, 18, Default, Default, $WS_POPUP, BitOR($WS_EX_MDICHILD,$WS_EX_TOPMOST ), $Scite_Hwnd)

When you use this, and you have a different window on top of you scite editor, the toolbar will be above everything else.

I changed it to this:

Global $My_Hwnd = GUICreate("SciTE interface", 100, 18, Default, Default,$WS_POPUP, $WS_EX_TOOLWINDOW, $Scite_hwnd)
which fixed the problem, but now any child window of SciTE loses it topmost attribute. If you click the main Scite window while a child is open, the child goes behind the main window, and the only way to get it back is to move the main window so the child can be viewed. A example of a child window is clicking on search>find. Any idea on how to solve this?

Share this post

Link to post
Share on other sites

i use the older version... and have no problems running full screen scripts.

the scite toolbar hides itself behind the running au3 file

Global $My_Hwnd = GUICreate("SciTE interface", 550, 18, Default, Default, $WS_POPUP, BitOR($WS_EX_TOPMOST, $WS_EX_TOOLWINDOW))


Edited by Valuater


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.