Sign in to follow this  
Followers 0
Bert

On Top Problem

3 posts in this topic

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



#2 ·  Posted (edited)

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

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

I tried yours, and it puts the toolbar on top of any other window. hmmmm...I could make a workaround using the old code, and if the child window exist, give it ontop status, but the last time I did that, I ran into processor time issues.

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