Author Topic: how to resend the messages from MDI Menus to it's client window?  (Read 162 times)

xandaz

  • Member
  • ***
  • Posts: 468
  • I luv you babe
    • My asm examples
    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 :
Code: [Select]
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

  • Member
  • ***
  • Posts: 468
  • I luv you babe
    • My asm examples
Re: how to resend the messages from MDI Menus to it's client window?
« Reply #1 on: October 17, 2021, 04:17:59 AM »
   Noboder replying. Problem solved:
Code: [Select]
invoke SendMessage,hMdi,WM_MDIGETACTIVE,0,0
invoke SendMessage,eax,uMsg,wParam,lParam
   Thanks anyway. I always can count on you guys.