PDA

View Full Version : about box?


olilarkin
12-13-2010, 03:03 PM
hi,

what controls are people using for plugin "about boxes"? i.e. click a button to flip the gui and show "blah blah vst by steinberg"

IBitmapOverlayControl ? what should i supply as the paramIdx argument, since this is not a "parameter" of the plugin? same goes for any icontrol that isn't associated with a parameter.

thanks

oli

olilarkin
12-13-2010, 04:02 PM
figured it out using a basic bitmap display + invisible switch with the paramIdx = -1 and custom onMouseDown etc

cc_
12-14-2010, 01:35 AM
I use IBitmapOverlayControl. I trigger it using my ISubject.h but I think you can just set the target rectangle to over your about button and then it automatically handles clicking anywhere to dismiss it.

Tale
12-14-2010, 01:59 AM
I use a derrived IBitmapControl, in which I have overridden OnMouseDown() to support clicking to my website, and Draw() to display a textual version number on top of the bitmap.