THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/03/2003 at 00:24, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
---------
Hi everybody!
I created BitmapButtons in R7 with:
AddUserArea( GADGET_MYPICTURE, BFH_FIT, 0, 0 );
AttachImage( GADGET_MYPICTURE, "bitmap.bmp", 0, 0 );
Since there is no "AttachImage" in R8 i tried:
BaseContainer settings;
BitmapButtonCustomGui *bmp_logo = NULL;
settings.SetBool(BITMAPBUTTON_BORDER,TRUE);
bmp_logo = (BitmapButtonCustomGui* ) AddCustomGui(GADGET_MYPICTURE, CUSTOMGUI_BITMAPBUTTON,String(),BFH_FIT,0,0,settings);
if (bmp_logo) bmp_logo->SetImage("bitmap.bmp");
It works, but the buttons are 2D! No "Button-Down"-effect. Has anybody a solution?
Thanks
Chris