Solved

Changing fonts in a dialog box

Posted on 1998-08-04
1
302 Views
Last Modified: 2013-12-03
Dear Experts,

How do you change fonts in an edit box? I can change fonts in a windows view but i cannot in a dialog box.
0
Comment
Question by:Soth
1 Comment
 
LVL 1

Accepted Solution

by:
kumarana earned 100 total points
ID: 1320270
1.Create a font and get a handle to it.
2.Get the window handle of the edit box.
3.Send a message WM_SETFONT to the edit box with
  the font handle.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 95
adobe illustrator  - Find Font dialog Box when opening an AI file 1 108
sameEnds challenge 3 187
canBalance challenge 34 105
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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…

733 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