SetLeadBitmap
Sets a picture from a LeadTools pBITMAPHANDLE to be displayed in the control
BOOL SetLeadBitmap( LPVOID pLBmp, BOOL bTakeOwnership = FALSE )
return true when successful else false
EX1
#include <ocGDI.h> #include <Control.h> void PictureControl_SetLeadBitmap(MatrixObject& matObj) { PictureControl pc; LPVOID pLBmp = matObj.GetLeadBitmap(); pc.SetLeadBitmap(pLBmp); }
Control.h