Solved

My menuitem is gray!

Posted on 1999-01-07
1
230 Views
Last Modified: 2013-12-26
I just started using Borland C++.
After I created a project, I insert a menuitem and attach it to the function with classexpert, but when I ran it, the menuitem i just added is gray.
I know it's stupid, but can you help me?
0
Comment
Question by:xu092098
1 Comment
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 50 total points
ID: 1299834
Can be 2 reas0ns for it:
1 Little probably
  MENUITEM "Item", IDC_MYITEM, GRAYED //must delete GRAYED
2. Most probably
  In you main programm must be line as

 EV_COMMAND(IDC_MYITEM,             MyFunction),
..
void WinClass::MyFunction()
{
...
}
Best Regards, Alex

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now