Jump to content


Photo

[module] Toolbar v2.31


  • Please log in to reply
69 replies to this topic

#1 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 08 November 2008 - 08:45 PM

OUTDATED. Toolbar is now maintained via Formsframework.

T o o l b a r

Toolbar control



Download          Documentation          Tutorial


Posted Image


Thread Highlights
[*:1w61dml5] Fat toolbar phenomenon.
[*:1w61dml5] Separators making Toolbar client area bigger then needed[/list]

#2 n-l-i-d

n-l-i-d
  • Guests

Posted 08 November 2008 - 09:18 PM

Excellent! 8) (as always...)

#3 jballi

jballi
  • Members
  • 940 posts

Posted 08 November 2008 - 11:50 PM

Very comprehensive. Thanks for sharing. :)

#4 freakkk

freakkk
  • Members
  • 182 posts

Posted 13 November 2008 - 02:20 PM

This is baddass, & very thoroughly documented. Thanks for the update! :D

#5 DHMH

DHMH
  • Members
  • 230 posts

Posted 14 November 2008 - 01:01 PM

Thx!
Your scripts are always useful!:D


I have a question:
How can i change the position of the toolbar?
I have a custom skin and the gui hasn´t a caption! And the toolbar is always in the foreground!

Thx in advance!
Greets,
DHMH

#6 Banana

Banana
  • Guests

Posted 14 November 2008 - 04:03 PM


h3 := Toolbar_Add(hGui, "OnToolbar", "vertical wrapable nodivider", "3L", "x100 y120 w200 h150")


#7 DHMH

DHMH
  • Members
  • 230 posts

Posted 14 November 2008 - 04:46 PM

Thanks Banana!
Greets,
DHMH

#8 Buddy

Buddy
  • Members
  • 11 posts

Posted 26 November 2008 - 06:41 PM

_Test.ahk delivers:

Error at line 815 in #include file "C:\....\Toolbar.ahk"
Line Text: %fun%
Error: Dynamic function calls are not supported.

What needs to be done to enable the missing support ?

#9 SKAN

SKAN
  • Administrators
  • 9062 posts

Posted 26 November 2008 - 06:53 PM

What needs to be done to enable the missing support ?


Download latest version of AutoHotkey

#10 DHMH

DHMH
  • Members
  • 230 posts

Posted 17 February 2009 - 03:35 PM

Can you help me ?
How can i make my own imagelist ?
Greets,
DHMH

#11 Guests

  • Guests

Posted 17 February 2009 - 04:54 PM

Yes, see docs.

Just create image list and put its handle in Add func

#12 DHMH

DHMH
  • Members
  • 230 posts

Posted 17 February 2009 - 05:00 PM

Does the imagelist have got a special format ? Must i create for every button one graphic ?
Greets,
DHMH

#13 majkinetor !

majkinetor !
  • Guests

Posted 17 February 2009 - 05:49 PM

No.

Read the manual, please.

#14 DHMH

DHMH
  • Members
  • 230 posts

Posted 18 February 2009 - 12:25 PM

Ok, thank you!
Is it also possible to make a toolbar like microsoft word, where you can choose the font size, font, etc. ?
Greets,
DHMH

// EDIT:
I found this, only:
<!-- m -->http://www.bettersol... ... 512321.htm<!-- m -->

or this: <!-- m -->http://www.devcompon....com/dotnetbar/<!-- m -->

#15 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 19 February 2009 - 06:13 PM

No, its standard OS toolbar. Font can be customized like this:

h1 := Toolbar_Add(hGui, "OnToolbar", "vertical flat nodivider border", 3, "x0")
hFont := CreateFont("s12 italic, Courier New")                           
SendMessage, 0x30, %hFont%, 1,, ahk_id %h1%  ;WM_SETFONT = 0x30

<!-- m -->http://www.autohotke... ... createfont<!-- m -->