|
|
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » ColumnList DnD
|
|
Re: ColumnList DnD [message #9490 is a reply to message #9486] |
Fri, 11 May 2007 20: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.
|
|
|
|
|
|
Re: ColumnList DnD [message #9496 is a reply to message #9492] |
Fri, 11 May 2007 23:00 |
|
luzr wrote on Fri, 11 May 2007 14:33 |
unodgs wrote on Fri, 11 May 2007 13:37 | Try to change column width
|
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 |
|
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 266 times)
|
|
|
|
Goto Forum:
Current Time: Fri Nov 01 00:53:04 CET 2024
Total time taken to generate the page: 0.02484 seconds
|
|
|