Solved

CPropertyPage tab header font

Posted on 1998-09-05
3
249 Views
Last Modified: 2013-12-02
How to make only one tab header in bold?

Or, either, how to assign image to only on tab header?

I already know the both answers for the whole CPropertySheet. What I need is just a one tab.
0
Comment
Question by:bobline
3 Comments
 

Author Comment

by:bobline
ID: 1321749
Edited text of question
0
 
LVL 6

Expert Comment

by:snoegler
ID: 1321750
The font is set using CWnd::SetFont() - this applies also for CPropertyPage.
I think to display a bitmap you have to write a CPropertyPage derivative which does this -
but i'm not sure.
0
 
LVL 23

Accepted Solution

by:
naveenkohli earned 100 total points
ID: 1321751
You need to grab the tab control for each page. Then for the page you want to change font or show bitmap, call onpaint for that very tab control.
It will solve you problem, i hope!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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…
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…

910 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

25 Experts available now in Live!

Get 1:1 Help Now