API:Vcl.ComCtrls.TToolBar.Perform
C++
inline NativeInt __fastcall Perform(unsigned Msg, NativeUInt WParam, NativeInt LParam){ return Vcl::Controls::TControl::Perform(Msg, WParam, LParam); }
inline NativeInt __fastcall Perform(unsigned Msg, NativeUInt WParam, System::WideChar * LParam){ return Vcl::Controls::TControl::Perform(Msg, WParam, LParam); }
inline NativeInt __fastcall Perform(unsigned Msg, NativeUInt WParam, System::Types::TRect &LParam){ return Vcl::Controls::TControl::Perform(Msg, WParam, LParam); }
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Vcl.ComCtrls.hpp | Vcl.ComCtrls | TToolBar |
Beschreibung
Reagiert, als ob das Steuerelement eine bestimmte Windows-Botschaft erhalten hat.
Vcl.ComCtrls.TToolBar.Perform erbt von Vcl.Controls.TControl.Perform. Der folgende Inhalt bezieht sich auf Vcl.Controls.TControl.Perform.
Reagiert, als ob das Steuerelement eine bestimmte Windows-Botschaft erhalten hat.
Mit Perform können Sie die Botschaftswarteschlange von Windows umgehen und eine Botschaft direkt an die Fensterprozedur des Steuerelements senden.
Perform legt einen Botschaftsdatensatz (Typ TMessage) an, der die im Parameter Msg übergebene Botschafts-ID, die in WParam und LParam angegebenen Botschaftsparameter und ein Ergebnisfeld mit dem Wert Null enthält. Dieser Datensatz wird anschließend an die Methode WindowProc zur weiteren Bearbeitung übergeben.
Siehe auch
Codebeispiele