April 26, 2024, 10:52:05 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


A couple of questions on Alpha 2 rev 11.

Started by Earn, March 20, 2006, 05:56:01 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Earn

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

Ionic Wind Support Team

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
Ionic Wind Support Team

Ionic Wind Support Team

Also CWebBrowser isn't currently ready for the source archive ;)  Will be when I get all parts of it converted from C++
Ionic Wind Support Team

Mike Stefanik

Here are updated versions of the CHeaderCtrl, CComboBoxEx and CSpinButton examples that use the AddControl method to add them to the dialog.
Mike Stefanik
www.catalyst.com
Catalyst Development Corporation

Earn

Of course it's all under control and everythings been considered.ÂÃ,  Silly of me to ask. ;DÂÃ,  Thanks for the info and examples.
Earn