AddMimicButton

Return to Introduction  Previous page  Next page

Adds a mimic button to a band

 

Prototype:

AddMimicButton(LONG BandID, LONG ID, LONG Feq, ULONG Flags=0, <LONG InsertAfterID>)

 

Arguments:

BandID

ID of the band the control should be added to

ID

The unique ID of this control

Feq

The field equate label for the button to mimic

Flags

Optional. button style flags. Can be one or more of the following flags:

PTB:BTN_HIDE                      Control is hidden

PTB:BTN_NOTEXTMIMIC       Do not mimic text

PTB:BTN_NOICONMIMIC        Do not mimic icon

PTB:BTN_NOTOOLTIPMIMIC  Do not mimic tooltip

InsertAfterID

Optional. Control should be inserted after the control with InsertAfterID. If you specify 0 as InsertAfterID, the control will be inserted first in band.

 

See also:

AddBand, AddCombo, AddDropButton, AddEntry, AddMenu, AddSpacer, AddText

 



Direct link to this page on our website: http://www.icetips.com/manuals/powertoolbar/addmimicbutton.htm