Hello,

Since a CMenu is not a Window, I can not post it a WM_KEYDOWN VK_DOWN
message directly to it,


I am opening a menu, tracing all the keyboard messages in the system
and
seeing that it send keyup and keydown messages to the window with the
focus and
to a third window handle inbetween


I thought that can be the handle of menu but sending the message to
HMenu
does nothing,


How can I simulate the user pressing a button when a menu is opened
from software


Thank you very much for your help,