Thread: MS Visual c++ 6 resource editor

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    112

    MS Visual c++ 6 resource editor

    Hey, does anyone know how to make the resource editor display in pixels? I don't know what measuring system its using but its not pixels.

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    I believe Dialog Units (DLUs) are based on the size of the font used in dialog boxes (e.g. MS Sans Serif 8-point).


    Nah, actually I just read that from MSDN Library, along with this:-
    "A horizontal DLU is the average width of the dialog box divided by four. A vertical DLU is the average height of the font divided by eight."

    So therefore you would need to find the size in pixels of the font you are using from your dialog in order to figure out the pixel size of a DLU...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  2. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 10:52 PM
  3. Erros in Utility Header File
    By silk.odyssey in forum C++ Programming
    Replies: 4
    Last Post: 12-22-2003, 06:17 AM
  4. errors in my class....
    By o0obruceleeo0o in forum C++ Programming
    Replies: 9
    Last Post: 04-14-2003, 03:22 AM
  5. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 04:07 PM