Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DropList with "quick trigger option": best way to implement?
DropList with "quick trigger option": best way to implement? [message #4909] Thu, 24 August 2006 22:16 Go to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
I want a DropList which triggers an external action not only when the widget view is clicked (WhenClick) but already when a DropList item is selected (list.WhenSelect).

It is quite easy to achieve this by deriving MyDropList from DropList and overriding Select().

But I don't like this solution. It appears too complicated. Above all good C++ policy forbids to override non-virtual base class functions and Select() is a non-virtual function.

Is there a simpler or at least "cleaner" solution?

Werner
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OcxConnectionPointContainer
Next Topic: design custom controls
Goto Forum:
  


Current Time: Fri May 17 21:39:42 CEST 2024

Total time taken to generate the page: 0.01590 seconds