.RC file explained
-
Hi, can someone explain a line in the .RC file that accompanies resource definitions in VC++ 6.0? I have a dialog that has the line:
FONT 8, "MS Sans Serif", 0, 0, 0x1
I also have seen another version of this (seen when merging code changes with another developer) that doesn't have the numerics:FONT 8, "MS Sans Serif"
curious on this - thanks for explanation. Johnny -
Hi, can someone explain a line in the .RC file that accompanies resource definitions in VC++ 6.0? I have a dialog that has the line:
FONT 8, "MS Sans Serif", 0, 0, 0x1
I also have seen another version of this (seen when merging code changes with another developer) that doesn't have the numerics:FONT 8, "MS Sans Serif"
curious on this - thanks for explanation. JohnnyFONT pointsize, typeface, weight, italic, charset RC Compiler Syntax[^] Cheers, Tom Archer - Archer Consulting Group
"So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe -
FONT pointsize, typeface, weight, italic, charset RC Compiler Syntax[^] Cheers, Tom Archer - Archer Consulting Group
"So look up ahead at times to come, despair is not for us. We have a world and more to see, while this remains behind." - James N. Rowe"FONT pointsize, typeface" is used in DIALOG templates "FONT pointsize, typeface, weight, italic, charset" is used in DIALOGEX templates. Note that unless your code explicitely manipulate the dialog template (which is very unlikely), you don't have to worry about whether a regular or extended template (DIALOG/DIALOGEX) is used. Both formats are handled correctly by all Win32 versions of Windows and by MFC. HTH, Serge. http://www.apptranslator.com - Localization for your Visual C++ apps