My MFC form is covered with a background bitmap.
This is done by adding a bitmap to a CImageList : (1 - See code attached)
and then, at the WM_PAINT handler, calling (2)
Now - sometimed I need to mark a rectangle on the bitmap as inactive/disabled.
I would like to draw a gray rectangle, make it semi - transparent and show it on top of the form.
Is it possible at all?
Any ideas how to do it?
m_BitmapBG.GetBitmap( &bm );
m_imageListBG.Create(bm.bmWidth,bm.bmHeight,ILC_COLOR24 | ILC_MASK ,1,1);
CPoint pt(0, 0);