ImageCombo control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I don't know if this is the best group to post my question in, but I figured I would start here :

I'm trying to use the ImageCombo control in a .NET solution. However, there is one annoying behavior that I cannot find a way around: the style cannot be changed from a normal dropdown combo to a dropdown list (I do not want users to be able to edit the text nor do I want a cursor in the edit box). If I set the style property for the AxImageCombo class, I get the error CTL_E_SETNOTSUPPORTED, which I understand to mean that the property is not able to be set. This leads to my question

It seems really weird that MS would only allow one way of using this control. There is not a whole lot of information on this control on the internet that I can find. Could anyone point me in the direction of any information that could help me or any tips? I realize I could create my own control, but I don't think the reason I want to use this control warrants putting that much effort into it

Thanks

Paul K
 
Hi,

http://www.thecodeproject.com/vb/net/ImageComboBox_VBNET.asp

Ken
---------------
Paul K said:
I don't know if this is the best group to post my question in, but I figured I would start here :)

I'm trying to use the ImageCombo control in a .NET solution. However,
there is one annoying behavior that I cannot find a way around: the style
cannot be changed from a normal dropdown combo to a dropdown list (I do not
want users to be able to edit the text nor do I want a cursor in the edit
box). If I set the style property for the AxImageCombo class, I get the
error CTL_E_SETNOTSUPPORTED, which I understand to mean that the property is
not able to be set. This leads to my question:
It seems really weird that MS would only allow one way of using this
control. There is not a whole lot of information on this control on the
internet that I can find. Could anyone point me in the direction of any
information that could help me or any tips? I realize I could create my own
control, but I don't think the reason I want to use this control warrants
putting that much effort into it.
 
Back
Top