MFC in regular DLL
What Im trying to do is create pluggable GUI. But to make things faster I decided to make a MFC GUI just for start(maybe I'll replace that with custom GUI later).
After some torturing and labouring(wrapping MFC in my own general UI classes) I managed to get MFC'ish menu straight from explicitly linked DLL. But there's one problem - when I select menu item with popup, I have to click it to get a popup menu. Usually holding mouse for short time is enough, but in this case it works different. Any clues about this problem ?
And my main app is not using MFC at all.
Ok, lets reply to myself again :D
So, my friend, you do like this: all your GUI will belong to DLL. There's no need to maintain in DLL window from main application. I mean, let DLL create window and handle it.
This way my prob is (probably) solved.
Thanks for reading, anyway:D
Enjoy the forums.
But still ... I can sleep now. Hurrah !
So, my friend, you do like this: all your GUI will belong to DLL. There's no need to maintain in DLL window from main application. I mean, let DLL create window and handle it.
This way my prob is (probably) solved.
Thanks for reading, anyway:D
Enjoy the forums.
But still ... I can sleep now. Hurrah !
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement