Jump to content

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?
Link to comment
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))

8)

Edited by Valuater

NEWHeader1.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...