Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Wie ReBar anordnen?? (Rebar.ahk)


  • Please log in to reply
No replies to this topic
Sheik
  • Members
  • 25 posts
  • Last active: Jan 09 2014 07:34 AM
  • Joined: 06 Nov 2012
Guten Morgen zusammen!

Ich habe ein Problem und ich schaff es einfach nicht. Ich versuche mit Hilfe der Rebar.ahk von majkinetor mein Gui zu erstellen. Jedoch schaffe ich es nicht, die einzelnen Bars so anzuordnen wie ich das möchte. Ich bekomme entweder alle nebeneinander oder untereinander (Style = vertical). Ich würde mein Gui allerdings gerne so aufteilen, wie auf dem Bild zu sehen:

Posted Image

Könnt ihr mir helfen? Danke im Voraus!


Hier mein Versuch:
#NoEnv
; #NoTrayIcon
#Persistent
#Singleinstance force
#NoEnv
SetBatchLines -1
SetWorkingDir %A_ScriptDir%
DetectHiddenWindows, On

Gui, +LastFound +Resize
hGui := WinExist()
Gui, Show, w900 h600 hide

;create image list
hIL := IL_Create(10, 0, 1)
loop, 20
IL_ADD(hIL, A_WinDir "\system32\shell32.dll", A_Index)
Gui, +LastFound +Resize
hGui := WinExist()

Gui, margin, 0, 0
Gui, Add, Edit , w200		 vED_Suche			 hwndED_Suche_HWND,
Gui, Add, ListBox, w300 h200 Sort vLB_Jobs hwndLB_Jobs_HWND,
Gui, Add, ListBox, w300 h200 Sort vLB_Results hwndLB_Results_HWND,
Gui, Add, ListBox, w300 h200 Sort vLB_Tabelle hwndLB_Tabelle_HWND,

;create toolbar
hToolbar := Toolbar_Add(hGui, "OnToolbar", "FLAT WRAPABLE", hIL, "x0 y0 h60")
Toolbar_Insert(hToolbar, "Öffnen`nSpeichern`nWeitere`nNochmal`nBlubb`nTest")

hRebar := Rebar_Add(hGui, "")
ReBar_Insert(hRebar, hToolbar, "mW 450")
ReBar_Insert(hRebar, ED_Suche_HWND, "T Suche", "mW 100")

hRebar2 := Rebar_Add(hGui, "", "", "x0 y65 w900 h800")
ReBar_Insert(hRebar2, LB_Jobs_HWND, "mW 100" "T Job")
ReBar_Insert(hRebar2, LB_Results_HWND, "nogripper")
ReBar_Insert(hRebar2, LB_Tabelle_HWND)

layout := "10002 312 0|10003 584 0|10004 350 1"
Rebar_SetLayout(hRebar2, layout)

Gui, Show
Return

GuiClose:
ExitApp

GuiSize:
Rebar_ShowBand(hRebar, 1)
Rebar_ShowBand(hRebar2, 1)
return
#include Forms_0_8\inc
#include _Forms.ahk