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 » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » ColumnList DnD
ColumnList DnD [message #9486] Fri, 11 May 2007 16:13 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ColumnList now supports DnD which makes CtrlLib support for drag and drop complete.
Re: ColumnList DnD [message #9488 is a reply to message #9486] Fri, 11 May 2007 19:37 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Try to change column width Wink
Re: ColumnList DnD [message #9490 is a reply to message #9486] Fri, 11 May 2007 20:12 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

In TreeCtrlDnd there is also a critical bug. If you select all rows in the left panel and drag them to the right side, and then you will try to drag them back application will crash.
Re: ColumnList DnD [message #9491 is a reply to message #9490] Fri, 11 May 2007 20:22 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
oops, thanks, going to check/fix now...
Re: ColumnList DnD [message #9492 is a reply to message #9488] Fri, 11 May 2007 20:33 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
unodgs wrote on Fri, 11 May 2007 13:37

Try to change column width Wink



Fixed...
Re: ColumnList DnD [message #9495 is a reply to message #9490] Fri, 11 May 2007 22:16 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
unodgs wrote on Fri, 11 May 2007 14:12

In TreeCtrlDnd there is also a critical bug. If you select all rows in the left panel and drag them to the right side, and then you will try to drag them back application will crash.



Fixed as well.
Re: ColumnList DnD [message #9496 is a reply to message #9492] Fri, 11 May 2007 23:00 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

luzr wrote on Fri, 11 May 2007 14:33

unodgs wrote on Fri, 11 May 2007 13:37

Try to change column width Wink

Fixed...

Indeed it's better! but I found another crash. However it's hareder to repeat. What I do is:
1 Set column width to minimum
2 Choose one item and start draging it over the window back and forth, up and down until the crash.
Re: ColumnList DnD [message #9497 is a reply to message #9496] Fri, 11 May 2007 23:06 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Crash is here
void Ctrl::WndFree()
{
	if(!top) return;
	RevokeDragDrop(GetHWND());
	ReleaseUDropTarget(top->dndtgt);
	isopen = false;
	HWND owner = GetWindow(top->hwnd, GW_OWNER);// CXL 31.10.2003 z DoRemove
	bool focus = ::GetFocus() == top->hwnd;
	LLOG("Ctrl::WndDestroy owner " << (void *)owner
	     << " focus " << focus
	     << " ::GetFocus() " << (void *)::GetFocus());
	if(owner && focus)// CXL 7.11.2003 presun - melo by to fungovat take a neblikat...
		::SetFocus(owner);
	LLOG(EndIndent << "//Ctrl::WndFree() in " <<UPP::Name(this));
	delete top;
	top = NULL;
}

in line
HWND owner = GetWindow(top->hwnd, GW_OWNER);// CXL 31.10.2003 z DoRemove

I found better way to repeat the crash.
1. chagne column width until value 382 is in last column (see attached picture)
2. Start dragging value 382 to the left.

  • Attachment: column.png
    (Size: 15.58KB, Downloaded 240 times)
Re: ColumnList DnD [message #9499 is a reply to message #9497] Fri, 11 May 2007 23:52 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you Daniel, this is really good betatesting Smile

Fixed.

Keep playing with it Smile

Mirek
Previous Topic: TheIDE now accepts file drops...
Next Topic: X11 fixes...
Goto Forum:
  


Current Time: Sat May 04 01:21:49 CEST 2024

Total time taken to generate the page: 0.02820 seconds