Autor Beitrag
Danny87
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 688

Windows 10 Pro 64bit
Sprachen: HTML, PHP, JavaScript, Delphi || IDE: RAD Studio 10.1 Berlin Starter, WeBuilder
BeitragVerfasst: So 07.05.06 11:18 
Hi Leute,

ich möchte gerne einen Rechtsklick durch mein Programm ausführen lassen.
Allerdings funktioniert das irgendwie nicht.
Könnt ihr mir sagen, was ich falsch mache?

ausblenden Delphi-Quelltext
1:
2:
PostMessage(0,WM_RBUTTONDOWN,0,0);
PostMessage(0,WM_RBUTTONUP,0,0);


Gruss
Daniel

//Edit: Titel erweitert
Moderiert von user profile iconChristian S.: Topic aus Sonstiges (Delphi) verschoben am So 07.05.2006 um 11:19
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Di 09.05.06 21:12 
Hallo,

da fehlt noch das Handle:

ausblenden Delphi-Quelltext
1:
PostMessage(Memo1.Handle,WM_RBUTTONDOWN,0,0);					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Danny87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 688

Windows 10 Pro 64bit
Sprachen: HTML, PHP, JavaScript, Delphi || IDE: RAD Studio 10.1 Berlin Starter, WeBuilder
BeitragVerfasst: Di 09.05.06 22:12 
Nee, ich wollte das Systemweit haben ;-)

Habs jetzt mit MouseEvent hingekriegt.

Gruss
Daniel