Navigating a dialog with embedded children dialog

ChuckieAJ 336 Reputation points
2025-10-17T20:52:08.8666667+00:00

I have a simple MFC CDialog and it has a placeholder for a child CDialog.

I have no problem creating and inserting the child dialog:

User's image

The controls on the left are the child. What I am struggling with is allowing the user to navigate the dialog using the TAB key etc. I want these controls as a child because I use a similar construct on other dialogs.

Windows development | Windows API - Win32
{count} votes

Answer accepted by question author
  1. David Lowndes 2,745 Reputation points MVP
    2025-10-17T21:07:39.0133333+00:00

    Have you set the WS_EX_CONTROLPARENT style on the child dialog?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.