Hi!
I am trying to implement a mouse click using mfc in an existent software. The
client is a mfc application that is connected to a server through OLE
automation. The client display the video recorded with a server that is connect to through
OLE. I used the wizared to implement the detection of the mouse click by the
client:
void CChildView::OnLButtonDown(UINT nFlags, CPoint point) { CDC* pDC1 = GetDC(); pDC1->SelectStockObject(WHITE_BRUSH); pDC1->Ellipse(0,0,20,20); }
I was expecting that when I click, a small circle will appear. But it doesn't work, I can see only the video displayed. This code is not called when I click, I checked with break points ... When I implement this in a simple independent
project, it works. I would appreciate your help to solve this.
Thanks! L.