BCB form movement

xiaoxiao2021-03-06  21

Place an image on the form, respond to the mousedown event.

Void __fastcall tform1 :: image1mousedown (TOBJECT * SENDER,

TMOUSEBUTTON button, TshiftState Shift, Int X, Int Y)

{

Releasecapture ();

Perform (WM_SYSCOMMAND, 0xF012, 0);

}

转载请注明原文地址:https://www.9cbs.com/read-46844.html

New Post(0)