Solved

Fonts when programming with Visual C++

Posted on 2004-03-25
5
307 Views
Last Modified: 2013-12-03
HI,

I am writting an application with visual c++.  I am not looking to do any adjusting of the fonts/and don't give the user options to change fonts.  All I would like is for the fonts to be consistant througth out the program.  

I didn't change anything concerning fonts anywhere in my applications, but different windows/dialog boxes will show different fonts.  When printed all the same fonts are used.  Is there a reason for this?

Nasa
0
Comment
Question by:nasa
  • 3
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10683210
What type of application is this? How are the fonts different?
0
 
LVL 1

Author Comment

by:nasa
ID: 10688468
Thanks for the reply,

I am writing a database application using ODBC.  I am running into the different fonts problem when two different dialog boxes are opened.

I have lots of dialog boxes -- some have the saem fonts some do not

I don't do anything (right now) with fonts at all -- thinking the default should/would be sufficient

Nasa
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 125 total points
ID: 10688573
How do you create these dialogs? In the resource editor, or on the fly?

If you use the resource editor, you can select the whole dialog and right-click, select Properties, go to the "Styles" tab (second tab) and check the fonts for all your dialogs. Are they the same (and the same size)?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10688576
wrong tab... sorry about that, it's the first tab (General)
0
 
LVL 1

Author Comment

by:nasa
ID: 10690758
Thanks for the help khremer

Nasa
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
substring method in java 1 135
Printout, or copy to a file,  thumbnails of ALL available fonts 5 89
noX challenge 17 134
Message not shown 5 82
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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…

713 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