New dialog does not draw when it goes over the edge of parent

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • New dialog does not draw when it goes over the edge of parent

    I cannot seem to get this dialog to draw completely unless it's area is within the immediate parent window. The attached figure shows the grandparent window (5 - 9 text), the parent dialog (message button), and the child dialog (Q button) which gets cut off at the end of the parent dialog.

    Here is the relevant code for calling the child dialog:

    C Source Code

    1. hKeypad = CreateAlphaKeypad();
    2. WM_AttachWindow(hKeypad, pMsg->hWin);
    3. WM_MoveTo(hKeypad, 100, 200); // Move dialog
    4. WM_MakeModal(hKeypad); // Make dialog modal
    5. GUI_ExecCreatedDialog(hKeypad);


    How can I get the child dialog to draw completely?

    Cheers,
    Joe
    Images
    • Capture.PNG

      2.57 kB, 146×147, viewed 223 times