Solved

Fonts when programming with Visual C++

Posted on 2004-03-25
5
309 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
[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
  • 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
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…
Suggested Courses

626 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