Solved

Character Map

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

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

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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…

726 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