Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Why is the default Rebar always disabled

Posted on 1999-08-02
4
Medium Priority
?
143 Views
Last Modified: 2013-11-20
I created an Application using AppWizard (in VC++6) using "Internet Explorer Rebars". Everything works fine.
Then, I wanted to add a button to the IDR_MAINFRAME resource. This dialog resource is connected to a CDialogBar object... when I compile and run the project, however, the button is displayed as disabled. At no part in the program I set the style disabled, though. Any suggestions?
0
Comment
Question by:rmassa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:naveenkohli
ID: 1312381
The button is disabled because there is no control associated with that resource. Use the classwizard and assign that button resource to a CButton .. and then add the BN_CLICKED and UPDATE_COMMAND_UI Message handlers for it. Then you are honme free....
0
 

Author Comment

by:rmassa
ID: 1312382
Thank you, naveenkohli!

How do I give you the points, now? (Guess you have to post an answer or something)
0
 
LVL 23

Accepted Solution

by:
naveenkohli earned 400 total points
ID: 1312383
You can accept this answer .... :)
Thankx!
0
 

Author Comment

by:rmassa
ID: 1312384
Thanx again :-)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

688 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