IO2 Tutorial GroupBox

From NSIS Wiki
Jump to navigationJump to search

Tutorial for GroupBox

  1. Place the cursor in the middle of dialog 105 and select insert control.
  2. Choose "GROUPBOX", add some text in the "caption" than hit "ok".
  3. The control will appear in the dialog, you resize and stretch as many times and form you like, see.
  4. Once you finish, with Resource Hacker, hide the dialog.
  5. You'll get the controls units, see.
  6. In the screenshot example, 57 41 60 60, will be the order for Left, Top, Right, Bottom values for the INI.
  7. So this will be, for:
  8. Left=57
  9. Top=41
  10. Right=60+left_value(57)=60+57=117
  11. Bottom=60+Top_value(41)=60+41=101
  12. Create your INI, with the new values:
  13. Left=57
  14. Top=41
  15. Right=117
  16. Bottom=101