Solved

Disable Options in Font Dialog

Posted on 2004-04-19
3
237 Views
Last Modified: 2013-12-03
Is there any way to disable the user from being able to select certain Options in the font dialog window such as Color, Underline style, Font Size etc.. ?  
0
Comment
Question by:dgelinas
[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
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 10863504
Check out http://www.codeproject.com/dialog/xfontdialog.asp ("XFontDialog - Customizing CFontDialog") and the followup articles.
0
 
LVL 6

Author Comment

by:dgelinas
ID: 10869059
This is not an MFC solution only is it?  I'm checking this out for someone else and I don't know my C++ well.
0
 
LVL 86

Expert Comment

by:jkr
ID: 10869151
Well, this sample is MFC, but the essential part can easily be extracted.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

752 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