
June 18th, 2003, 04:24 PM
|
|
Junior Member
|
|
Join Date: Jun 2003
Location: Bucharest
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Can't send a message in MFC
I am making a single document aplication in MFC where i need to send a message from the mainframe window to the CHtmlView window of the aplication.
I tried this:
CHTMLView * Chtml=(CHTMLView *)GetActiveView();
Chtml->SendMessage(WM_KEYDOWN,VK_DOWN,0);
//CHTMLview is the name of the CView -derived class
but it doesn'y work.Any suggestions?
|