dialog box not showing until pressing ALT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manontheedge
    New Member
    • Oct 2006
    • 175

    dialog box not showing until pressing ALT

    Not sure if this is the appropriate place to ask this, but I thought I'd give it a try. I've got an issue with dialog boxes in Visual Studio .NET 2003, using C++. The intended result is that one dialog box opens another ... once the selection is made on the second dialog box, it closes, so the first dialog box has the focus again.

    The issue is that the second dialog box is not showing until i press the "ALT" key on the keyboard, like the box is hidden. I've tried inserting code to force this dialog box to have the top most priority when open, but it's not working. Anyone have any ideas, or know what I can do to fix this?
  • Studlyami
    Recognized Expert Contributor
    • Sep 2007
    • 464

    #2
    Could you post the code that shows the creation of the second dialog box? Are you specifying a parent when you create the new dialog box?

    Comment

    Working...