Re: Questions about IDE and perhaps Win32Lib
> Ray Tomes wrote:
>>My problem is that I am designing for a 1024x768 screen size but
>>want to be able to have it work on any screen size and for
>>everything to scale correctly.
Jerry Story wrote:
> My solution to that problem was:
>
> 1. K = <Get the screen resolution.>
>
> 2. Write a little function "mK()" that adjusts things to the screen
> resolution.
>
> 3. Run all sizes and all positions of all widgets thru mK().
>
> For an example see any one of most of my programs under user
> contributions.
Jerry that is the approach that I would take if not using IDE. But I don't
see how to do that because IDE expects integers in these things and not
variables I think (or am I just assuming that?).
I can achieve the same as you say if I take the code generated by IDE and
replace all occurrences of x, y, cx, and cy by a scaling in the way you
say and do the fonts at the same time. Only disadvantage is that I cannot
then go back and make changes with IDE any more. So best to do this when I
am really sure that I finished all the fancy screen footwork.
Jonas wrte:
>If you're just interested in control placement/alignment then I would
>suggest looking at Don Phillip's xControls library (in the archive)
>which automatically adjusts size and placement for controls in a window
>when it's resized.
Thanks Jonas - I just finished trying to learn EUwinGUI, window developer,
Win32Lib and IDE - how many more do I need to learn? LOL!
Ray
|
Not Categorized, Please Help
|
|