THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/07/2004 at 10:03, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.5
Platform: Windows ;
Language(s) : C++ ;
---------
I think the final piece of the puzzle for porting my plugin from v7.3 to v8.5 has to do with diaplaying a bitmap in a userarea of a dialog. Under 7.3, I did the following...
Bool SaveOptsDialog::CreateLayout(void)
{
BaseBitmap *logo = NULL;
if( !(GeModalDialog::CreateLayout() && LoadDialogResource(DLG_PBJOPTIONS,NULL,0)))
return FALSE;
logo = BaseBitmap::Alloc();
if (!logo || logo->Init(GeGetPluginPath()+String("res")+String("redilogo.tif"))!=IMAGE_OK)
{
return FALSE;
}
AttachImage(IDC_LOGO, logo, BMPBUTTON_COPYBITMAP);
BaseBitmap::Free(logo);
return TRUE;
}
...but AttachImage() is no longer available. I don't need this to be a button or anything, it's just a logo that needs to be displayed. Can someone tell me the easist way to do this under v8.5 SDK?
Thanks,
- Keith