merre
May 24th, 1999, 07:54 AM
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
Jason Teagle
May 24th, 1999, 09:58 AM
(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?