hi

I have searching for a few days now to try and find out how to disable and enable menuitems becuase i am creating a chat program but when they connect i want the connect option in the menu to gray out or be disabled so they cant use it and when they disconnect for the option to be enabled so they can use it.

i am using dev c++ and win xp pro

thx in advance