|
-
May 24th, 1999, 07:54 AM
#1
help please
Hi!
In may application i have a dialog box who fits in dissolution 800x600, what changes i have to do that the dialog box fits in all dissolutions.
thax /mehran
-
May 24th, 1999, 09:58 AM
#2
Re: help please
(The word you needed was 'resolution', not 'dissolution'.)
If the dialogue box is created completely with the Resource Editor in VC++, then you should not need to make any changes - Windows sizes the controls automatically.
If you are calling the Create() method for several controls (i.e., you are manually creating controls), then you will have to call GetDialogBaseUnits() and then use the formulae given in the help file under that function name to convert your positions and sizes correctly. Basically, if the dialogue base unit is larger, then you should create your controls larger to make it look right.
Does this help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|