Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Change font in CListCtrl

Posted on 1998-03-23
1
Medium Priority
?
1,564 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 150 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

877 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