Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

My menuitem is gray!

Posted on 1999-01-07
1
Medium Priority
?
238 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 100 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

885 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