[2005] Paste Special Character in TextBox / Combobox
Hello Guys & Girls !
I feel so stupid nowadays, for asking so many questions.
Part of my program ( ScreenShot.png ) allows the user to select different "Bracket" styles or Special characters. Now, I've made use of the Character Map ( from within my program ), to allow them to choose special symbols. The problem is, if I make a selection as in ScreenShot.png, and want to copy that symbol into an ordinary textbox in my program, it ends up showing a semi-colon.
Yes, a RichTextBox would do just fine, but the actual problem would still be adding the selected symbol into a ComboBox with a different font.
The problem however is that I won't really know which font was selected, because that depends on the Character Map. I'm showing the Windows Character map inside my own form ( in a Panel ), as in the previous picture. So, based on that symbols selected, I want to add it to the textbox and the Combobox, once confirmed.
It even doesn't copy it properly with TrueType fonts, it seems, because Some fonts do show the symbols correctly, some don't. I guess it has to do with "Symbol fonts" which it has a huge issue with.
So, I have 2 options.
Option 1
Except defeat, and just notify the user that some symbols may not be copied & formatted properly.
Option 2
See if I can determine the Font of the clipboard's contents, then change the Textbox & combox's style accordingly ¿
How can I make my textbox compatible with any font's special characters, or how can I determine which font is in use ¿