Jump to content
Sign in to follow this  
Glyph

GUI white stripe across top?

Recommended Posts

Glyph

How do you get that white stripe across the top of a gui i seen it somewhere on the forums in am image, it looks kind of like an installer...


tolle indicium

Share this post


Link to post
Share on other sites
WeMartiansAreFriendly

How do you get that white stripe across the top of a gui i seen it somewhere on the forums in am image, it looks kind of like an installer...

hye, can you show an image of it?


Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()

Share this post


Link to post
Share on other sites
Zedna

Answer is label with style: $SS_SUNKEN and height 2 pixels

#include <GUIConstants.au3>

$Form1 = GUICreate("Form1", 633, 454, 193, 115)
$Label1 = GUICtrlCreateLabel("Label1", 72, 40, 347, 2, $SS_SUNKEN)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
Edited by Zedna

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.