[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppTrue » joystick » CSharpFAQ » CppBoostPropertyMap » CppPlusOperator » CppVcl » Edge detection » HistogramEqualization » WhatLinksHere » 486 » CppBuilderDragForm
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppTrue » joystick » CSharpFAQ » CppBoostPropertyMap » CppPlusOperator » CppVcl » Edge detection » HistogramEqualization » WhatLinksHere » 486 » CppBuilderDragForm
(C++ Builder) How do I let a TForm be dragged?
void __fastcall TForm1::FormMouseMove(TObject *Sender, TShiftState Shift,
int X, int Y)
{
if( Shift.Contains( ssLeft ) )
{
ReleaseCapture();
SendMessage(Handle,WM_NCLBUTTONDOWN,2,0);
}
}
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
