Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Tue, 6 May 2008 07:44:48 -0700 (PDT),    group: microsoft.public.vstudio.development        back       


Setting a dialog size in pixels at runtime.   
Hi All,

I'm sure the solution to this problem is really simple, however I just
can't seem to figure it out!

All I want to do is create a dialog at design time that is 640x480
pixels big.  I have an application that must fit onto a VGA display
and so want to make the dialog 640x480 at design time.

I could make my screen resolution 640x480 but this would be a pain
when using Visual Studio to edit the dialog.

I've noticed in the bottom right of the VS 2008 status bar there are
two co-ordinates.  The first seems to show the top left of the dialog
or control (so for the dialog it is always 0,0).  The second shows the
width and height, but obviously not in pixels, can anyone tell me what
these units are and how to convert them to pixels?

Thanks in advance!
date: Tue, 6 May 2008 07:44:48 -0700 (PDT)   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us