Blitz (197/459)

From:Davide Zipeto
Date:15 Jan 2000 at 14:00:39
Subject:mui & toolbar help

Does anyone know how I can enable the bubble help for mui's toolbar in blitz2?

I tried this code:

Dim TB.MUIP_Toolbar_Description(16)

;--- Use the macros to input into our array...
;
TB(0)\_Type = !Toolbar_Button {0,"New"}
TB(0)\HelpString = "Help me plz"

[..other code..]

;--- Toolbar and some padding space.
;
MUIAddTags #MUI_ToolBar1,#MUIA_Toolbar_ImageType,#MUIV_Toolbar_ImageType_File
MUIAddTags #MUI_ToolBar1,#MUIA_Toolbar_ImageNormal,Null("Toolbar.bsh")

; enable bubble help . come si fa ?
MUIAddTags #MUI_ToolBar1,#MUIA_Toolbar_Description,&TB(0)
MUIAddTags #MUI_ToolBar1,MUIA_ShortHelp,True

MUINewObject #MUI_ToolBar1,"Toolbar.mcc",0
MUINewObject #MUI_Rectangle1,"Rectangle.mui",0

-------------

This should be enough as stated in the toolbar's autodoc. BTW I'm unable of
getting any bubble help.




#Dawez# A proud Amiga user


! Mitnick will be released in few days :-)) !


---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie