Improve company productivity with a Business Account.Sign Up

x
?
Solved

Modifying the Font stock property in a control

Posted on 2001-07-31
1
Medium Priority
?
312 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

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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 …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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…

587 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