Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. .RC file explained

.RC file explained

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionannouncementlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john john mackey
    wrote on last edited by
    #1

    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

    T 1 Reply Last reply
    0
    • J john john mackey

      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

      T Offline
      T Offline
      Tom Archer
      wrote on last edited by
      #2

      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

      S 1 Reply Last reply
      0
      • T Tom Archer

        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

        S Offline
        S Offline
        Serge Wautier
        wrote on last edited by
        #3

        "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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups