Please suggest how to create custom focus for Cfbsbitmap image. I am able to create bitmap & draw its on screen. but my problem is how to handle some event with bitmap focus. I am not able to handle their focus. please see my below code-
On page load I have 5 bitmap on screen. & but i have no any control to handle or to set focus of that bmp is true.
CFbsBitmap* iBitmap1 = new (ELeave) CFbsBitmap;
iBitmap1 = LoadL(KFileName);
void CMyControlTestContainer::Draw( const TRect& aRect ) const
// [[[ begin generated region: do not modify [Generated Contents]
CWindowGc& gc = SystemGc();
gc.Clear( aRect );
if((iBitmap5 != NULL) && (iBitmap5->Handle() != 0))
If i am able to find out that this bitmap is focus then handle some event on that.
please suggest can i set focus of control is true if yes then how?
thanx in advance!