Announcement

Collapse
No announcement yet.

Please correct MDI32.INC

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

  • Please correct MDI32.INC

    Please correct this two functions:
    Code:
    FUNCTION MdiActivate(BYVAL hClient AS LONG, BYVAL hWnd AS LONG) AS LONG
      FUNCTION = SendMessage(hClient, %WM_ACTIVATE, hWnd, 0)
    END FUNCTION
    
    FUNCTION MdiDestroy(BYVAL hClient AS LONG, BYVAL hWnd AS LONG) AS LONG
      FUNCTION = SendMessage(hClient, %WM_DESTROY, hWnd, 0)
    END FUNCTION
    With:
    Code:
    FUNCTION MdiActivate(BYVAL hClient AS LONG, BYVAL hWnd AS LONG) AS LONG
      FUNCTION = SendMessage(hClient, %WM_MDIACTIVATE, hWnd, 0)
    END FUNCTION
    
    FUNCTION MdiDestroy(BYVAL hClient AS LONG, BYVAL hWnd AS LONG) AS LONG
      FUNCTION = SendMessage(hClient, %WM_MDIDESTROY, hWnd, 0)
    END FUNCTION
    If this change is not done this two functions are obsolete.



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

  • #2
    Thanks!


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment

    Working...
    X