Outputting the infinity symbol to an Edit Box in MSVC++ 1.52
Posted on 1998-02-24
I am doing an application using MSVC++1.52 because it needs to run on Win3.1.
I want to output the infinity symbol to an edit box so the user sees this symbol as the default value (the user can change this to any number) when the screen comes up.
I need 'code' to do it.
The edit box (m_LoopCount) is initialized as follows:
memset(Line, '\0', 5);
// INSERT THE INFINITY SYMBOL INTO THE BOX HERE
m_LoopCount.SetSel(0, 5, FALSE);
I assume I need to get the device context and then insert the infinity symbol using the Symbol character set, but I can't remember how.
Again, I would like the code segment to do this (the code that would be inserted in the space indicated in the code snippet above)
Thanks! (I only have 50 points to give, sooo.......)