Dear Friends,
When we goes to menubar of application in focus.The application sends WM_ENTERMENULOOP message to Windows and Menubar is shown to us. When Menubar hides an application sends WM_EXITMENULOOP Message to Windows.
Is it possible to detect event when WM_ENTERMENULOOP /WM_EXITMENULOOP message is sent to operating system by an application. ?

Is their anyone who knows "How to read Message Queue of Windows ?"
Can i do it by using c# ?

Waiting for your Helpful hands,