How to move and resize dialog controlsYou can move and resize controls of dialog windows. At the first, you should know the identifier of the dialog control. You can get it by some ways. For example, you can find it in res\dialogs\*.rc file, or open res\dialogs\*.res file with any Resource editor or special program. Also, you can get the ID of the control with special programs (for instance, Microsoft Spy++) during your installation. For example, the button Next has ID that equals 1008 on all dialogs. How to move the controlInsert the following item into Additional settings. Variable Name - M:ID where ID is an identifier of the control. Value - X:Y where X and Y are negative or positive offset. New left pos = current left pos + X and New top pos = current top pos + Y. If you want to specify an absolute position then specify Variable Name as M:ID:A. Also, you can specify a new postion as percent of the size of the dialog window. M:1008 => 10:-50
M:1008:A => 10%:30%
How to resize the controlInsert the following item into Additional settings. Variable Name - S:ID where ID is an identifier the control. Value - X:Y where X and Y are negative or positive number. New width = current width + X and New height = current height + Y. If you want to specify an absolute size then specify Variable Name as S:ID:A. Also, you can specify a new size as percent of the size of the dialog window. S:1008 => 30:10
S:1008:A => 20%:30%
How to resize or move dialog windowInsert the following item into Additional settings. Variable Name - W:S specify 'S' if you want to resize dialog or 'M' if you want to move dialog.. Value - X:Y where X and Y are negative or positive number. New width = current width + X and New height = current height + Y. You can specify a new size as percent of the size of the dialog window. W:S => 0%:15% - increasing the height of the dialog window on 15%.
|