Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Problem with dll and command bars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with dll and command bars

 Post Reply Post Reply
Author
Message
v_light View Drop Down
Groupie
Groupie


Joined: 17 November 2008
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote v_light Quote  Post ReplyReply Direct Link To This Post Topic: Problem with dll and command bars
    Posted: 17 March 2009 at 7:43am
Hello,
 
I have some mfc handlers with the message map in a statically linked dll. And than I include the resources in the main application. That I want to use the dll's command id's in a tabbed toolbar, created in the main application. But it is impossible - the buttons is grayed out(so command bars don't see the message map). Can you help me, how I can do this - send a message to correct message map from codejock toolbar?

Thank in advance!

 
---------------------------------------
Product: Xtreme ToolkitPro version 12.0.0
Back to Top
v_light View Drop Down
Groupie
Groupie


Joined: 17 November 2008
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote v_light Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2009 at 6:18am

Solved: should overload OnCmdMsg(...) in MainFrame or in View and pass them to dll's

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 March 2009 at 6:11am
right :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.204 seconds.