Solved

Change font in CListCtrl

Posted on 1998-03-23
1
1,530 Views
Last Modified: 2013-12-03
How to change the font or style in a CListCtrl ? Can somebody give me an example how to put font in bold in a CListCtrl ?
Thanx in advance
PS : I don't want all the elements of a CListCtrl to become bold. Bring out only one element.
0
Comment
Question by:kharandir
1 Comment
 

Accepted Solution

by:
shaqshup earned 50 total points
ID: 1317151
You must create an ownerdrawn CListCtrl. Check ownerdraw flag for your list control in resource editor. Override DrawItem of your CListCtrl derived class and do your own painting with previously created fonts.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 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

10 Experts available now in Live!

Get 1:1 Help Now