?
Solved

Modifying the Font stock property in a control

Posted on 2001-07-31
1
Medium Priority
?
311 Views
Last Modified: 2013-12-03
I have an ActiveX control. it has a font stock property. I need to modify this font. how can i do this? I need the answer as soon as possible. thnx in advance
0
Comment
Question by:TheASD
1 Comment
 

Accepted Solution

by:
raqadi earned 420 total points
ID: 6337308
Try to use CFolderHolder object to get the font, select it in CFont object, modify it using LOGFONT object , and then re-select it in ur function using SelectObject function
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this post we will learn different types of Android Layout and some basics of an Android App.
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…

579 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