Solved

My menuitem is gray!

Posted on 1999-01-07
1
232 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 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