Solved

My menuitem is gray!

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
carriage return in xslt cell 13 60
Problem with http basic authentication 5 87
css help 3 93
Re-position the objects 7 51
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

760 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

17 Experts available now in Live!

Get 1:1 Help Now