Resolution Independent Control Size

Posted by ryanlancer on Stack Overflow See other posts from Stack Overflow or by ryanlancer
Published on 2010-03-12T19:34:43Z Indexed on 2010/03/12 19:37 UTC
Read the original article Hit count: 181

Hi,

I am developing a program for converting videos for mobiles for eg converting mkv,avi,flv,ogg file to mp4 files.I have to display a preview window which should have the mobile specific dimension for eg. Sony Ericsson has 176 pixels x 220 pixels.

My screen resolution is 1600x900 and when I change to some other resolution say 1024x768 for testing the preview window size changes.

Can anyone suggest me how can I fix this.

SUMMARY:When screen resolution is changed my preview window size should remain same(like if I measure using a scale along the screen).

thanks.

© Stack Overflow or respective owner

Related posts about c#3.0

Related posts about resolution-independence