Click here to Skip to main content
16,016,180 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I want to make an exe which is going to display in any systen like(LCD screen,LED screen or TV). My requirement is controls(buttons,radio buttons etc) of my dialog should adjust as per the dialog size.Like in pdf docsif we reduce the size of content ,size of letters also get reduced.No horizontal scroll bar came into picture.

Can somebody suggest me how to come out from this problem.


Thanks in advance

Rahul Prakash
Posted
Updated 7-Nov-12 23:35pm
v2
Comments
Richard MacCutchan 31-Oct-12 9:54am    
This should happen automatically. Dialogs and their controls use the DialogUnit measurement system, which adjusts to the resolution of the system on which it runs.
Prakash257 5-Nov-12 6:01am    
Hi Richards,thanks for reply.
But my requirement is that if I reduce the dialog size manually than all controls should be reduced in same ratio as dialog get reduced.You can take example of PDF docs,when you reduce the size of docs,texts are getting reduced in same proportional.No horizontal scrollbar came in docs.
if you understand my requirement then please help me.

Thanks

rahul Prakash

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900