Announcement

Collapse
No announcement yet.

MDI problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MDI problem

    Hi all,

    I have the following problem in my MDI-application.
    Anybody experienced that before?

    Regards
    Peter

    http://www.stormpages.com/diverse/problem.html


    ------------------




    [This message has been edited by Peter P Stephensen (edited April 23, 2001).]
    [email protected]
    www.dreammodel.dk

  • #2
    Yes, check your WM_SIZE events. In main dialog, return zero. In child,
    pass on to: FUNCTION = DefMDIChildProc(hWnd, wMsg, wParam, lParam)

    ------------------

    Comment


    • #3
      Thanks Borje,

      but that is not the explanation...
      My WM_SIZE events is OK

      Regards
      Peter

      ------------------
      [email protected]
      www.dreammodel.dk

      Comment


      • #4
        Then, impossible to say without code. Failing to pass on WM_SIZE in
        child otherwise produces exactly this problem. Maybe something in
        WM_CREATE - maybe you try to resize childs at wrong moment?

        If problem has started to occur after adding something, go backwards
        and rem out added code until problem disappears. My guess still is
        that somewhere, DefMDIChildProc doesn't get what it needs.
        ------------------


        [This message has been edited by Borje Hagsten (edited April 23, 2001).]

        Comment

        Working...
        X