I have noticed that you use
Code: Select all
sgPaintBox->OnMouseUp = sgPaintBoxMouseUp;
Moderators: SDS, support, admin
Code: Select all
sgPaintBox->OnMouseUp = sgPaintBoxMouseUp;
Code: Select all
void __fastcall sgPaintBoxOnClick(TObject *Sender);
Code: Select all
void __fastcall TfmMain::sgPaintBoxOnClick(TObject *Sender)
{
MessageBox(Handle, "Hello", "OnClick event handler", MB_ICONWARNING);
}