Advertisement Jump to content
Sign in to follow this  

MFC in regular DLL

This topic is 4907 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post

Link to post
Share on other sites
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 !

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!