Solved

Character Map

Posted on 2002-05-05
5
218 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 85
haveThree challenge 22 100
zeroMAx challenge 20 76
Path of Workbook 3 44
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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now