Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MDI frame "Window" menu / submenu dynamics - where to start? Pin
Richard MacCutchan10-Mar-14 1:53
mveRichard MacCutchan10-Mar-14 1:53 
QuestionCMap efficiency Pin
econy7-Mar-14 5:20
econy7-Mar-14 5:20 
AnswerRe: CMap efficiency Pin
jeron17-Mar-14 5:48
jeron17-Mar-14 5:48 
QuestionRe: CMap efficiency Pin
CPallini9-Mar-14 4:57
mveCPallini9-Mar-14 4:57 
AnswerRe: CMap efficiency Pin
Stefan_Lang12-Mar-14 1:29
Stefan_Lang12-Mar-14 1:29 
QuestionWM_GETTEXT does not returns data from Grid Control of external application Pin
pandit847-Mar-14 4:33
pandit847-Mar-14 4:33 
AnswerRe: WM_GETTEXT does not returns data from Grid Control of external application Pin
Richard MacCutchan7-Mar-14 5:54
mveRichard MacCutchan7-Mar-14 5:54 
QuestionAuto align of toolbar by frame width Pin
akhil_sudheesh6-Mar-14 19:44
akhil_sudheesh6-Mar-14 19:44 
Hi, am building a GUI MFC application, I have several toolbars in my application, i want my toolbars to auto align according to my application frame width, the code i have been tried is given below. By this code the toolbar is simply align in a single row. what should i do to reach my goal?Confused | :confused: thanks in advance

C#
m_wndMenuBar.EnableDocking(CBRS_ALIGN_ANY);
    tb1.EnableDocking(CBRS_ALIGN_ANY);
    m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
    tb4.EnableDocking(CBRS_ALIGN_ANY);
    tb8.EnableDocking(CBRS_ALIGN_ANY);
    tb9.EnableDocking(CBRS_ALIGN_ANY);
    tb2.EnableDocking(CBRS_ALIGN_ANY);
    tb3.EnableDocking(CBRS_ALIGN_ANY);
    tb6.EnableDocking(CBRS_ALIGN_ANY);
    tb7.EnableDocki:confused:ng(CBRS_ALIGN_ANY);

    EnableDocking(CBRS_ALIGN_ANY);

    DockPane(&m_wndMenuBar);
    DockPane(&tb9);
    DockPaneLeftOf(&tb8, &tb9);
    DockPaneLeftOf(&tb4, &tb8);
    DockPaneLeftOf(&m_wndToolBar, &tb4);
    DockPaneLeftOf(&tb1, &m_wndToolBar);
    DockPaneLeftOf(&tb7, &tb1);
    DockPaneLeftOf(&tb6, &tb7);
    DockPaneLeftOf(&tb3, &tb6);
    DockPaneLeftOf(&tb2, &tb3);

A learner

AnswerRe: Auto align of toolbar by frame width Pin
Rage12-Mar-14 22:15
professionalRage12-Mar-14 22:15 
GeneralRe: Auto align of toolbar by frame width Pin
akhil_sudheesh13-Mar-14 19:55
akhil_sudheesh13-Mar-14 19:55 
AnswerRe: Auto align of toolbar by frame width Pin
Rage14-Mar-14 0:07
professionalRage14-Mar-14 0:07 
AnswerRe: Auto align of toolbar by frame width Pin
Rage14-Mar-14 0:15
professionalRage14-Mar-14 0:15 
GeneralRe: Auto align of toolbar by frame width Pin
akhil_sudheesh16-Mar-14 21:29
akhil_sudheesh16-Mar-14 21:29 
Questionstd::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 [Solved] Pin
Elerian6-Mar-14 10:17
Elerian6-Mar-14 10:17 
AnswerRe: std::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 Pin
«_Superman_»6-Mar-14 14:24
professional«_Superman_»6-Mar-14 14:24 
GeneralRe: std::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 Pin
Elerian7-Mar-14 8:10
Elerian7-Mar-14 8:10 
AnswerRe: std::shared_ptr causing C4150 warning even if custom deleter is used in Visual C++ 2012 Pin
Elerian7-Mar-14 8:20
Elerian7-Mar-14 8:20 
QuestionThe destructor of MFC application [Solved] Pin
econy6-Mar-14 7:02
econy6-Mar-14 7:02 
AnswerRe: The destructor of MFC application Pin
David Crow6-Mar-14 7:09
David Crow6-Mar-14 7:09 
GeneralRe: The destructor of MFC application Pin
econy6-Mar-14 8:41
econy6-Mar-14 8:41 
GeneralRe: The destructor of MFC application Pin
jeron16-Mar-14 9:15
jeron16-Mar-14 9:15 
GeneralRe: The destructor of MFC application Pin
econy6-Mar-14 10:14
econy6-Mar-14 10:14 
GeneralRe: The destructor of MFC application Pin
jeron16-Mar-14 10:50
jeron16-Mar-14 10:50 
AnswerRe: The destructor of MFC application Pin
«_Superman_»6-Mar-14 14:30
professional«_Superman_»6-Mar-14 14:30 
GeneralRe: The destructor of MFC application Pin
econy7-Mar-14 5:15
econy7-Mar-14 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.