Page 1 of 1

ActiveX FileView Control

Posted: Fri May 05, 2017 11:43 am
by Timm
Hi!

I am use the FileView control from LogicNP Software with Xailer.
This is an example C++ code for customizing the check/uncheck bitmaps:

//Load the image from the path
CString filePath = _T("c:\\checkimages.bmp");
HBITMAP hBmp = (HBITMAP)LoadImage(AfxGetInstanceHandle(),filePath,IMAGE_BITMAP,0,0, LR_LOADFROMFILE);
CPictureHolder ph ;
ph.CreateFromBitmap(hBmp,NULL,FALSE);

// Set custom check/uncheck images
// The strip specified below contains 4 images side-by-side each of width 15 pixels
FileView.SetCheckBoxBitmaps( ph.GetPictureDispatch(), 15, RGB(255,255,255));

I donĀ“t know to implement this in Xailer.
Can anyone perhaps help me with this?

Best regards, Timm.