IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Earn on March 20, 2006, 05:56:01 PM

Title: A couple of questions on Alpha 2 rev 11.
Post by: Earn on March 20, 2006, 05:56:01 PM
I was looking through some the examples of the newly added controls and it seems as thought earlier controls, button - listview - etc., can be added (created) using AddControl but the new controls are created when a dialog is initialized.ÂÃ,  Will the AddControl function be modified to handle all of the controls in the future?

Also, the source file(s) for the webbrowser control seem to be missing from the source license archive.ÂÃ,  Will it be included in the next release?

Earn
Title: Re: A couple of questions on Alpha 2 rev 11.
Post by: Ionic Wind Support Team on March 20, 2006, 06:02:11 PM
You can create them with AddControl.  Some of the examples haven't been updated.  Also there are occasions when you want to create a control dynamically.

Here is the current list of constants AddControl accepts:

//control types
#define CTBUTTON 1
#define CTDEFBUTTON 0x1001
#define CTCHECKBOX 2
#define CTRADIOBUTTON 3
#define CTEDIT 4
#define CTLISTBOX 5
#define CTCOMBOBOX 6
#define CTSTATIC 7
#define CTSCROLLBAR 8
#define CTGROUPBOX 9
#define CTRICHEDIT 10
#define CTLISTVIEW 11
#define CTSTATUS 12
#define CTTREEVIEW 14
#define CTTABCTRL 15
#define CTTRACKBAR 16
#define CTMONTHCAL 17
#define CTPROGRESSBAR 18
#define CTDTPICKER 19
#define CTIPADDRESS 20
#define CTHEADER 21
#define CTCOMBOBOXEX 22
#define CTSPINBUTTON 23
Title: Re: A couple of questions on Alpha 2 rev 11.
Post by: Ionic Wind Support Team on March 20, 2006, 06:03:09 PM
Also CWebBrowser isn't currently ready for the source archive ;)  Will be when I get all parts of it converted from C++
Title: Re: A couple of questions on Alpha 2 rev 11.
Post by: Mike Stefanik on March 20, 2006, 06:21:20 PM
Here are updated versions of the CHeaderCtrl, CComboBoxEx and CSpinButton examples that use the AddControl method to add them to the dialog.
Title: Re: A couple of questions on Alpha 2 rev 11.
Post by: Earn on March 21, 2006, 06:35:06 AM
Of course it's all under control and everythings been considered.ÂÃ,  Silly of me to ask. ;DÂÃ,  Thanks for the info and examples.
Earn