Make your own free website on Tripod.com

4.4.3. Edit "Owner-Drawn Button ( supported by Windows )" properties.

     To edit owner-drawn button properties, you need to click "Edit Parameters" button. Parameters fields become active, and you can now edit their values:

4.4.3.1. Panel "Standard Parameters".

     Here you could change the next parameters:
1. Button type. You can select necessary button type, taking into account the type of image you want to place on the button .
2. Button description. Sometimes, it could be convenient to have description for each GUI component. Also, you could save time, using control description as tooltip for it, instead of writing big help files for your program.
3. Button size and position. Here you could set the button top-left corner coordinates, its width and height. Also, you could dispose the control in preview mode, using "Select Button Size and Position in Preview Mode" button. WARNING. If you change some button parameters, but not save them yet, then they're considered as "desired" values, not as "selected". Preview mode will work with "selected" parameters only, so you need to click "Save Parameters Value" and, again, "Edit Parameters" - now, if you call preview mode editing, then it'll work with accepted values.

 

Don't forget, please, to click "Save Parameters Values", to save your correction. Also, if you want to continue with this project design next day(s), then you should visit "File" panel and select "Save Current Project As"...

4.4.3.2. Panel "Styles".

     Here you could change the next parameters:
1. Button "background style". You can place image on various types of the button, so you can select necessary button "background" type.
2. Image alignment options. There're various styles for button image alignment - you can select left- or right- aligned image and vary vertical alignment too.

 

Don't forget, please, to click "Save Parameters Values", to save your correction. Also, if you want to continue with this project design next day(s), then you should visit "File" panel and select "Save Current Project As"...

4.4.3.3. Panel "Extended Styles".

 

     Here you could change the next parameters:
1. Button miscellaneous styles. Using these styles, you could insert/delete some additional visual effects for button view.
2. Window styles used with buttons. There are some windows styles ( parameters of Win32 API CreateWindowEx  function ), which can be used with button. You can easily select/delete them here.
3. Window extended styles used with buttons. There are another set of CreateWindowEx parameters ( extended window styles ), which can be used with button, to modify button view.

 

Don't forget, please, to click "Save Parameters Values", to save your correction. Also, if you want to continue with this project design next day(s), then you should visit "File" panel and select "Save Current Project As"...

4.4.3.4. Panel "Miscellaneous Parameters".

 

     Here you could change the next parameters:
1. Button background image. You could see the type of current image selected for the button ( bitmap or icon) and its dimensions. Click on "Select New Background Image" button, to select new one.
2. Button dimensions. For simplicity of image/button adjusting, you can click here on "Set Button Dimensions Equal to Image Ones", or on "Set Button Height Equal to Image Height", or on "Set Button Width Equal to Image Width".
3. Button initial state. This block of switches provided for managing of initial state of 3-state buttons, like checkboxes.
4. Button action. Here you could define the behavior of the control. Actually, you need no to perform any actions for window closing, so it's more convenient to define button with such predefined function.

 

Don't forget, please, to click "Save Parameters Values", to save your correction. Also, if you want to continue with this project design next day(s), then you should visit "File" panel and select "Save Current Project As"...