Jump to content

Tiny sub-boxes in a GUI.


KillerSam
 Share

Recommended Posts

This is realy hard to explain but.

A lot of windows have faint lines usualy in an oval shape that link related items, it will place them into a "box", and there will usually be a title that will interupt the top line of this box.

I have attempted to add an image to show what I mean. You should be able to see the way the window is divided into sections, this is what I want.

Could somebody please give me a nudge in the right direction towards creating these?

Also there are like divisions and lines (commonly above "next and back" buttons on an install for example, or between text and an image on the left in install windows (commonly).

Hope I have explained enough.

Thanks,

Posted Image

Edited by KillerSam
Link to comment
Share on other sites

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

Play with Koda

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("AForm1", 633, 447, 193, 115)
$Checkbox1 = GUICtrlCreateCheckbox("ACheckbox1", 40, 24, 17, 17)
$Input1 = GUICtrlCreateInput("AInput1", 40, 56, 113, 21)
$Group1 = GUICtrlCreateGroup("Nicknames", 16, 8, 417, 89)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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