Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Design flaw! Please fix for 13.2.2!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Design flaw! Please fix for 13.2.2!

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Design flaw! Please fix for 13.2.2!
    Posted: 08 January 2010 at 11:57am
Since there is no "SetDockContext" function, we have to do this ugly trick:
 
CMyToolBar::CMyToolBar()

{

     SAFE_DELETE(m_pDockContext);

     m_pDockContext = new CMyDockContext(this);

}

 

We need a specialized docking context in order to accomplish what I described in a previous post!

PokerMemento - http://www.pokermemento.com/
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 08 January 2010 at 12:02pm
Also, I think it makes sense to send an event to the main window when tracking starts/stops. What do you think Oleg?
PokerMemento - http://www.pokermemento.com/
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.172 seconds.