Announcement

Collapse
No announcement yet.

MDI problem

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

  • Borje Hagsten
    replied
    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).]

    Leave a comment:


  • Peter P Stephensen
    replied
    Thanks Borje,

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

    Regards
    Peter

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

    Leave a comment:


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

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

    Leave a comment:


  • Peter P Stephensen
    started a topic MDI problem

    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).]
Working...
X