Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When my docking dialog is docked to the bottom of my MDI application the status bar appears to be above. What is going on?

0
Posted

When my docking dialog is docked to the bottom of my MDI application the status bar appears to be above. What is going on?

0

To make the status bar appear at the bottom you need to create status bar right after creating the CMainFrame and before all other child windows like dialog bars etc… The reason for this is because the MFC function CWnd::RepositionBars() iterates through all child windows to adjust their position and starts from the first child. So, the status bar has to be first child.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.