procedure WMSyscommand(var msg: TWmSysCommand); message WM_SYSCOMMAND; procedure TForm1.WMSyscommand(var msg: TWmSysCommand); begin if (msg.CmdType and $FFF0) = SC_MAXIMIZE then ShowMessage('La fiche va être agrandie'); inherited; end;
procedure WMSyscommand(var msg: TWmSysCommand); message WM_SYSCOMMAND; procedure TForm1.WMSyscommand(var msg: TWmSysCommand); begin if (msg.CmdType and $FFF0) = SC_MAXIMIZE then ShowMessage('La fiche va être agrandie'); inherited; end;
procedure WMSyscommand(var msg: TWmSysCommand); message WM_SYSCOMMAND; procedure TForm1.WMSyscommand(var msg: TWmSysCommand); begin if (msg.CmdType and $FFF0) = SC_MAXIMIZE then begin Msg.Result := 0; Exit; end; inherited; end;
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question