Author Topic: Interacting with MDI Menus  (Read 565 times)

xandaz

  • Member
  • ****
  • Posts: 529
  • I luv you babe
    • My asm examples
Interacting with MDI Menus
« on: June 05, 2022, 04:51:27 AM »
    Hi guys. I come before you to see if you can explain to me how the interaction with MDI Menus is done. When i click a specific Mdi Child, on the Mdi Menu it doesn't activate the window i clicked on. So, it's not automated. I found very little information on MSDN about the subject so, if anyone knows, let him step forth and please explain it to me. Ty guys

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Interacting with MDI Menus
« Reply #1 on: June 05, 2022, 06:42:43 AM »
Its usually done with the MDI window that has the focus.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

xandaz

  • Member
  • ****
  • Posts: 529
  • I luv you babe
    • My asm examples
Re: Interacting with MDI Menus
« Reply #2 on: June 05, 2022, 07:11:42 PM »
   Ty for answering Hutch. That doesn't do much for me. I've put next and previous window in the menu. That's all that i was capable. WM_COMMAND delivers 100 in wParam. Should i use the wParam member of CreateMdiWindow?