Hi,

I have a menu with menuitems in a resource.rc file. I load the menu thru the RegisterClassEx and I use the message system thru a callback procedure. I know how to handle messages sent from clicking on a menu item. Yet, I'd like to know ho to gray a menu item by using the SendMessage() function.

thanks