When pressing the right mouse button outside a window, moving the mouse cursor above a window titlebar while being pressed and releasing it will trigger the contextual menu of the window.
It shouldn't be like that since it differs from native window behavior.
Stephane Senecal
CIS Group
Delphi programmer since 2001