If I cannot set an ID for a top menu, how am I supposed to be able to manipulate the way it is created just like the other sub-menus?
Let's say in this code
Code:
				switch(di->itemID)
				{
				case ID_COLOR1:
					SetTextColor(di->hDC,color);
					break;
				case ID_COLOR2:
					SetTextColor(di->hDC,color);
					break;
				case ID_COLOR3:
					SetTextColor(di->hDC,color);
					break;
				case hMenu:
					color = RGB(00,00,255);
					SetTextColor(di->hDC,color);
					break;
				}
How would I be able to add a case hMenu, without getting an error? I even saw VB programs change the text xcolor of their top-menus. What should I do. I tried a whole bunch of stuff(such as typecasting), but with no result Thanks for helping
Amon Ra