Hi Herman!
>I had tried subclassing it, seems to work properly if you change it on WM_INITMENUPOPUP
When you say "I had tried subclassing it" do you have hooked the form messages with SetWindowsHookEx (i tried to hook but the only message hooked with WM_MSGFILTER was WM_MENUSELECT) or do you have sobsituted the messages dispatcher funtion of the form with SetWindowLong ?
I'm not an expert on Windows programmation.
bye, Emanuele!
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.