Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » ColumnList DnD
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 298 times)
|
|
|
Goto Forum:
Current Time: Tue Jul 15 19:26:40 CEST 2025
Total time taken to generate the page: 0.03589 seconds
|