Hi,
I'm writing an ATL COM dll. I want to create interface to it (dialog box with controls). I created the ATL dialog box and tried to add some controls to it.
I did following things:
* Added some simple controls (textbox, radiobutton)
* Added ListBox and Tab Control.
* Added events for these controls.
I haven't problems with getting events from TextBox and RadioButton but I have problems with more advanced controls:
1. Standard Windows controls like ListBox or Tab Control don't want to work with ATL dialogs.
2. I don't know how to initialize controls (i.e. adding entries to list) and catch events from them.
3. Which kind of controls should I use in my ATL COM add-in to create dialog box with Tab Control, ListBox, some Textboxes, RadioButtons and buttons ?
Does somebody know how to do it or know some links to examples ??
Regards,
Marcin.
I'm writing an ATL COM dll. I want to create interface to it (dialog box with controls). I created the ATL dialog box and tried to add some controls to it.
I did following things:
* Added some simple controls (textbox, radiobutton)
* Added ListBox and Tab Control.
* Added events for these controls.
I haven't problems with getting events from TextBox and RadioButton but I have problems with more advanced controls:
1. Standard Windows controls like ListBox or Tab Control don't want to work with ATL dialogs.
2. I don't know how to initialize controls (i.e. adding entries to list) and catch events from them.
3. Which kind of controls should I use in my ATL COM add-in to create dialog box with Tab Control, ListBox, some Textboxes, RadioButtons and buttons ?
Does somebody know how to do it or know some links to examples ??
Regards,
Marcin.