Solved

Fonts when programming with Visual C++

Posted on 2004-03-25
5
305 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iSeries DB2 Query 2 95
matchUp  challenge 6 60
True Type Font Files? 4 89
Google Chrome color inconsistency 2 59
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…

776 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