views:

22

answers:

0

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.