.hello,
I have a question on MFC message transfer to mstn project. Thank you for your listening and helping in advance.
I write a MFC modeless dialog dll, I want to call it in a mstn project. The dialog have tooltips. If I use model dialog, it shows tooltips well. But I use modeless dialog, it can't call the function "PreTranslateMessage", so tooltips can't show in my MFC modeless dialog.
The problem is the modeless dialog doesn't own the message pump. The message pump is owned by the container application.
How can I add tooltips in my MFC modeless dailog Dll, the dll also can call by MSTN program. I think I should establish a message bridge between MFC modeless dailog and MSTN ma.
I was wandering if the add-in Modeless dialog can help me. I try to add the CDialog virtual function to its inherit class CBModelessDialog, but can't pass debug. Does the CBModelessDialog support "virtual BOOL PreTranslateMessage(MSG* pMsg);" ?
Looking forward to your great support!~ Thank you so much in advance!~