Solved

Character Map

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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…
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…

688 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