I'm making a small program to convert roman numerals to decimal, but to do that I need to be able to draw a tilde over an M, to represent a million. Ie:
But of course, I want the tilde to be right on top of the M, not on the line above.
What is the best method to achieve this? I tried drawing it myself, but I got stuck because of the complexity of edit control painting. Would it be possible to create a new character, or something similar?