[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

coloured static controls

Posted on 2000-04-24
2
Medium Priority
?
144 Views
Last Modified: 2013-11-20
I want to know about coloured static controls
0
Comment
Question by:nitinkadam
  • 2
2 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 2746386
To color a static control, make sure it has a unique ID.  -1, or IDC_STATIC won't do.

Then, add a OnCtlColor() handler. In that handler, call SetBkColor() to set the background color of the control. And call SetTextColor() to set the text color of the control.

Besides that, what do you want to know?

..B ekiM

0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2746512
Why did you leave a grade of "C"?  Why did you provide no explanation for such a crummy grade?  Was there something else you needed to know?  I offered to expand my answer for you, but you didn't take me up on the offer. Why would you ignore my extension of additional help but leave a poor grade?

I can't understand your grading style.

..B ekiM
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month20 days, 8 hours left to enroll

868 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