[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Character Map

Posted on 2002-05-05
5
Medium Priority
?
229 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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…

650 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