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 » TreeCtrl » TreeCtrlDnD inheritance bug?
TreeCtrlDnD inheritance bug? [message #40762] Fri, 13 September 2013 14:31 Go to next message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
If in TreeCtrlDnD example we replace this declaration
TreeCtrl   tree;

by this
class AppTree : public TreeCtrl{} tree;

then we can't do drag-n-drop:
http://s61.radikal.ru/i171/1309/4f/ff8f4d5763d4.jpg

Here AppTree is a domain specific Tree.

[Updated on: Fri, 13 September 2013 20:08]

Report message to a moderator

Re: TreeCtrlDnD inheritance bug? [message #40771 is a reply to message #40762] Sat, 14 September 2013 11:33 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Depends on how you have implemented it. If there is AcceptInternal<TreeCtrl> in your code, consider changing <TreeCtrl> to your class name Smile

Mirek
Re: TreeCtrlDnD inheritance bug? [message #40772 is a reply to message #40771] Sat, 14 September 2013 19:42 Go to previous message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
Exactly! I'm not attentive
Previous Topic: OptionTree has too large horizontal size
Next Topic: Hide expand/collapse ico
Goto Forum:
  


Current Time: Fri Apr 19 17:48:00 CEST 2024

Total time taken to generate the page: 0.03667 seconds