CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2012
    Posts
    20

    Implementing a dialog into a bar

    I have a program that implements bars using a class called CCoolBar that ultimately inherits CControlBar. I like it because I can dock the bar using MFC commands such as

    DockControlBar(&m_MEMBar,AFX_IDW_DOCKBAR_BOTTOM);

    I would like to plant a modeless dialog into one of these bars though. How would I do that. The bar gets implemented as an object, such as CCoolBar MEMBar;.

  2. #2
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: Implementing a dialog into a bar

    Could you please give more details about CCoolBar?
    Is it a class you created?
    Without knowing details (code) it is next to impossible to give you any advice.
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured