Solved

Change font in CListCtrl

Posted on 1998-03-23
1
1,546 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
[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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Detect CR LF to each line 12 185
How to convert MFC::CString to UTF8 wchar_t* 10 468
x-bar in Google Sheets 2 130
Numbers in fonts funny displayed... 11 51
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…

710 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