News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

how to resend the messages from MDI Menus to it's client window?

Started by xandaz, October 17, 2021, 03:40:40 AM

Previous topic - Next topic

xandaz

    Hi. Since i'm using Mdi Menus i've been having trouble resending the WM_COMMAND messages that are sent to the Main Window Procedure. How to do that? i've tried :invoke SendMessage,hMdi,uMsg,wParam,lParam
    Doesn't seem to work. PostMesage doesn't either. I'm greaking out. Help Please!
    Thanks in advance.

xandaz

   Noboder replying. Problem solved:invoke SendMessage,hMdi,WM_MDIGETACTIVE,0,0
invoke SendMessage,eax,uMsg,wParam,lParam

   Thanks anyway. I always can count on you guys.