Note that first call stack is for form which does not have CheckListBox
showing entirely. The first event caught is the "phantom" move attempting
to click a CheckListBox item. Note the second line of the call stack which
is a OnMove ? Much further down is the WmMouseDown message. The call stack
for the same situation with a CheckListBox showing entirely after the drag
drop is shown at the end of this message.
sqlserver.dll!QueryBuilder.QBFormChangeLocation(Ob ject sender =
{QueryTableView}, System.EventArgs e = {System.EventArgs}) Line 262 Basic
system.windows.forms.dll!System.Windows.Forms.Cont rol.OnMove(System.EventArg
s e = {System.EventArgs}) + 0x5e bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.OnLocationChanged(Syst
em.EventArgs e = {System.EventArgs}) + 0x1c bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.UpdateBounds(int x =
352, int y = -13, int width = 216, int height = 288, int clientWidth = 208,
int clientHeight = 261) + 0xb3 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.UpdateBounds() +
0x150 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WmMove(System.Windows.
Forms.Message m = {System.Windows.Forms.Message}) + 0x1a bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x654 bytes
system.windows.forms.dll!System.Windows.Forms.Scro llableControl.WndProc(Syst
em.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x6c bytes
system.windows.forms.dll!System.Windows.Forms.Cont ainerControl.WndProc(Syste
m.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x37 bytes
system.windows.forms.dll!System.Windows.Forms.Form .WndProc(System.Windows.Fo
rms.Message m = {System.Windows.Forms.Message}) + 0x2ab bytes
system.windows.forms.dll!ControlNativeWindow.OnMes sage(System.Windows.Forms.
Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!ControlNativeWindow.WndPr oc(System.Windows.Forms.Me
ssage m = {System.Windows.Forms.Message}) + 0xda bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DebuggableCallbac
k(int hWnd = 459898, int msg = 3, int wparam = 0, int lparam = 655716) +
0x3d bytes
system.windows.forms.dll!System.Windows.Forms.Scro llableControl.SetDisplayRe
ctLocation(int x = 0, int y = -171) + 0x2c4 bytes
system.windows.forms.dll!System.Windows.Forms.Scro llableControl.ScrollContro
lIntoView(System.Windows.Forms.Control activeControl = {SelectedItem=""}) +
0x3de bytes
system.windows.forms.dll!System.Windows.Forms.Cont ainerControl.ScrollActiveC
ontrolIntoView() + 0x37 bytes
system.windows.forms.dll!System.Windows.Forms.Cont ainerControl.ActivateContr
olInternal(System.Windows.Forms.Control control = {SelectedItem=""}, bool
originator = true) + 0x10f bytes
system.windows.forms.dll!System.Windows.Forms.Cont ainerControl.ActivateContr
olInternal(System.Windows.Forms.Control control = {SelectedItem=""}) + 0x13
bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WmSetFocus(System.Wind
ows.Forms.Message m = {System.Windows.Forms.Message}) + 0x94 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x747 bytes
system.windows.forms.dll!System.Windows.Forms.List Box.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x2a2 bytes
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.WndProc(System.
Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x66 bytes
system.windows.forms.dll!ControlNativeWindow.OnMes sage(System.Windows.Forms.
Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!ControlNativeWindow.WndPr oc(System.Windows.Forms.Me
ssage m = {System.Windows.Forms.Message}) + 0xda bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DebuggableCallbac
k(int hWnd = 656482, int msg = 7, int wparam = 394312, int lparam = 0) +
0x3d bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DefWndProc(System
..Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0xd4 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.DefWndProc(System.Wind
ows.Forms.Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WmMouseDown(System.Win
dows.Forms.Message m = {System.Windows.Forms.Message},
System.Windows.Forms.MouseButtons button = Left, int clicks = 1) + 0x4e
bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x484 bytes
system.windows.forms.dll!System.Windows.Forms.List Box.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0xca bytes
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.WndProc(System.
Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x66 bytes
system.windows.forms.dll!ControlNativeWindow.OnMes sage(System.Windows.Forms.
Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!ControlNativeWindow.WndPr oc(System.Windows.Forms.Me
ssage m = {System.Windows.Forms.Message}) + 0xda bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DebuggableCallbac
k(int hWnd = 656482, int msg = 513, int wparam = 1, int lparam = 1638438) +
0x3d bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.ComponentManager.S
ystem.Windows.Forms.UnsafeNativeMethods+IMsoCompon entManager.FPushMessageLoo
p(int dwComponentID = 1, int reason = -1, int pvLoopData = 0) + 0x349 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oopInner(int reason
= -1, System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x1f3 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oop(int reason = -1,
System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x50 bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.Run(System.Windows
..Forms.Form mainForm = {ToadUI.Form1}) + 0x34 bytes
ToadUI.exe!ToadUI.Form1.Main() Line 11 + 0x1d bytes Basic
Call stack showing the the ItemCheck is called in the case where the
CheckBoxList shows entirely after the drag/drop.
sqlserver.dll!QueryBuilder.ItemCheck(Object sender =
{System.Windows.Forms.CheckedListBox},
System.Windows.Forms.ItemCheckEventArgs e =
{System.Windows.Forms.ItemCheckEventArgs}) Line 244 Basic
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.OnItemCheck(Sys
tem.Windows.Forms.ItemCheckEventArgs ice = {Index=2 NewValue=Checked
CurrentValue=Unchecked}) + 0x23 bytes
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.LbnSelChange()
+ 0xfa bytes
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.WmReflectComman
d(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x3f
bytes
system.windows.forms.dll!System.Windows.Forms.List Box.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x98 bytes
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.WndProc(System.
Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x66 bytes
system.windows.forms.dll!ControlNativeWindow.OnMes sage(System.Windows.Forms.
Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!ControlNativeWindow.WndPr oc(System.Windows.Forms.Me
ssage m = {System.Windows.Forms.Message}) + 0xda bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DebuggableCallbac
k(int hWnd = 656388, int msg = 8465, int wparam = 66564, int lparam =
656388) + 0x3d bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.SendMessage(int msg
= 8465, int wparam = 66564, int lparam = 656388) + 0x48 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.ReflectMessageInternal
(int hWnd = 656388, System.Windows.Forms.Message m =
{System.Windows.Forms.Message}) + 0x7f bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WmCommand(System.Windo
ws.Forms.Message m = {System.Windows.Forms.Message}) + 0x72 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x252 bytes
system.windows.forms.dll!System.Windows.Forms.Scro llableControl.WndProc(Syst
em.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x6c bytes
system.windows.forms.dll!System.Windows.Forms.Cont ainerControl.WndProc(Syste
m.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x37 bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.ParkingWindow.WndP
roc(System.Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x22
bytes
system.windows.forms.dll!ControlNativeWindow.OnMes sage(System.Windows.Forms.
Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!ControlNativeWindow.WndPr oc(System.Windows.Forms.Me
ssage m = {System.Windows.Forms.Message}) + 0xda bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DebuggableCallbac
k(int hWnd = 656306, int msg = 273, int wparam = 66564, int lparam = 656388)
+ 0x3d bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DefWndProc(System
..Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0xd4 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.DefWndProc(System.Wind
ows.Forms.Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WmMouseUp(System.Windo
ws.Forms.Message m = {System.Windows.Forms.Message},
System.Windows.Forms.MouseButtons button = Left, int clicks = 1) + 0xb5
bytes
system.windows.forms.dll!System.Windows.Forms.Cont rol.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x49b bytes
system.windows.forms.dll!System.Windows.Forms.List Box.WndProc(System.Windows
..Forms.Message m = {System.Windows.Forms.Message}) + 0x217 bytes
system.windows.forms.dll!System.Windows.Forms.Chec kedListBox.WndProc(System.
Windows.Forms.Message m = {System.Windows.Forms.Message}) + 0x66 bytes
system.windows.forms.dll!ControlNativeWindow.OnMes sage(System.Windows.Forms.
Message m = {System.Windows.Forms.Message}) + 0x13 bytes
system.windows.forms.dll!ControlNativeWindow.WndPr oc(System.Windows.Forms.Me
ssage m = {System.Windows.Forms.Message}) + 0xda bytes
system.windows.forms.dll!System.Windows.Forms.Nati veWindow.DebuggableCallbac
k(int hWnd = 656388, int msg = 514, int wparam = 0, int lparam = 2818106) +
0x3d bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.ComponentManager.S
ystem.Windows.Forms.UnsafeNativeMethods+IMsoCompon entManager.FPushMessageLoo
p(int dwComponentID = 1, int reason = -1, int pvLoopData = 0) + 0x349 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oopInner(int reason
= -1, System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x1f3 bytes
system.windows.forms.dll!ThreadContext.RunMessageL oop(int reason = -1,
System.Windows.Forms.ApplicationContext context =
{System.Windows.Forms.ApplicationContext}) + 0x50 bytes
system.windows.forms.dll!System.Windows.Forms.Appl ication.Run(System.Windows
..Forms.Form mainForm = {ToadUI.Form1}) + 0x34 bytes
ToadUI.exe!ToadUI.Form1.Main() Line 11 + 0x1d bytes Basic