Re: IDE project

new topic     » goto parent     » topic index » view thread      » older message » newer message
DonCole said...

I'm using MS Paint to draw the picture. How would I get the control positions in Paint?

In the long run, it's not a great idea to base control locations on exact pixel positions because people have varying video resolutions. So it is very likely that while the positions may look good to you, for someone with a smaller or bigger screen the controls could look sub-optimal. A better approach is to use inches/millimeters to position controls and calculate the right pixel location when you run the program.

For example, you want a button which is 0.5 inches from the left edge, and your screen has 128 pixels/inch then the correct pixel to use is pixel (0.5 * 128) = 64.

However, if you must use pixel locations, then MS-PAINT shows you the pixel position of the cursor in the lower left corner of the paint window.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu