Here is my suggestion.
Use Window's CharacterMap with the same font as your dialog use.
You could look in your resource file for that purpose.
"MS Dialog" is a good candidate for a unicode dialog.
The character 0xAF looks OK (reverse undersore).
Other characters may be good as well.
Like Arial unicode 0x2550 (Double lines) or 0x2014 (line centered).
TCHAR szLine[BUF_SIZE];
for(int i=0; i < BUF_SIZE; i++)
szLine[i] = 0xAF;
szLine[BUF_SIZE-1] = 0;
That's it !
19 Nov 2006 12:39:02 -0500, pocketom <po******@discussions.microsoft.comwrote:
Does anybody know how i can put a horizontal line into my forms? i need one
to create a simple "below the line" to seperate my sumup textbox from the
other input-textboxes (like you know it from common calculations). I tried to
add a label with underlines ________, but doesn't look very pretty.
Anybody an idea?
by the way, i'm using VC++ 2005 Express Edition...
____
Jean