SetDIB
Sets a picture from a HDIB to be displayed in the control
BOOL SetDIB( HDIB hDib )
return true when successful else false
EX1
#include <ocGDI.h> #include <Control.h> void PictureControl_SetDIB() { PictureControl pc; HDIB hDIB = load_dib("C:\\20by20.bmp"); pc.SetDIB(hDIB); }
Control.h