1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| void __fastcall TVisualisationGdeImg::FormClick(TObject *Sender)
{
SetWindowPos(this->Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
SetForegroundWindow(this->Handle);
}
//---------------------------------------------------------------------------
void __fastcall TVisualisationGdeImg::FormActivate(TObject *Sender)
{
SetWindowPos(this->Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
SetForegroundWindow(this->Handle);
}
//---------------------------------------------------------------------------
void __fastcall TVisualisationGdeImg::FormCreate(TObject *Sender)
{
SetWindowPos(this->Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_SHOWWINDOW | SWP_NOSIZE);
SetForegroundWindow(this->Handle);
} |
Partager