Solved

Character Map

Posted on 2002-05-05
5
223 Views
Last Modified: 2013-12-03
I want to build an MFC application that allow the user to insert special character. I want to build the dialog window similiar to "insert symbol" dialog in MS Word. Is there any built-in api that perform this function? Does anyone have any suggestion on how to go about building such dialog window?
0
Comment
Question by:Dugan
  • 2
5 Comments
 
LVL 49

Expert Comment

by:DanRollins
ID: 6990550
There is no API to do all of that.  You would need to write the code the generate a list of symbols for the specified font, then provide a mechanism to let the user select a symbol and send it to the clipboard or directly to the underlying app.  

It would be an interesting project, but a relatively major one -- not the kind of thing that an EE Expert can describe in a few paragraphs or code snippets.  You would want a nice U/I, but even the basics of displaying the character set and choosing one would be a full-blown programming task -- beyond what an Expert here could provide.

-- Dan
0
 

Author Comment

by:Dugan
ID: 6992268
Ok, then in Windows 2k, character map program, in the area where it display the individual character, what kind view is that? Are the individual cell static text?
0
 
LVL 49

Accepted Solution

by:
DanRollins earned 100 total points
ID: 6992419
I think that is a custom-built window (there is no standard 'view' for it).  It is created out of whole-cloth by its WM_PAINT handler.

>> Are the individual cell static text?
I don't think the individual cells are anything -- that program dusplays a single bitmap and the program code interprets as if it were a matrix of separate cells.

-- Dan
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 49
Named range not carried over 10 63
Importing Special Characters in Dynamics GP Through Integration Manager 3 75
Google Chrome color inconsistency 2 59
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…

770 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