Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RechteMuataste down wie?

Empfohlene Antworten

Moinsen, ich möchte gerne mittels PostMessage/Sendmessage die Rechte Maus-Taste down haben...wie mache ich das....

So gehts leider nicht...

HWND hwnd;

hwnd = FindWindow(NULL, "FensterName");

SendMessage(GWhwnd, WM_RBUTTONDOWN, 5, 5);

Mit Freundlichen Grüßen

Mir wäre neu, dass Mäuse eine Fernsteuerung haben, über die man die Tasten bewegen kann. Allenfalls kannst du ein Betätigen der Maustaste simulieren, aber nicht mit Post- oder SendMessage.

Die passende Funktion unter Windows heißt SendInput.

Verschoben -> C++: Compiler, IDEs, APIs

Und wie soll das gehen? (bitte ein Bsp.)

Will es an einem Fenster senden...welches nicht Focusiert ist.

Vielen Dank

MfG

Und wie soll das gehen? (bitte ein Bsp.)
Suchmaschinen finden da so einiges, z.B.:

Windows SDK User Interface: How can I emulate mouse events in an application? - CodeGuru Forums

Will es an einem Fenster senden...welches nicht Focusiert ist.
Deine Maustaste weiß nichts von Fenstern. Windows ermittelt aus der Mausposition, an welches Fenster das geht. Mit dem Fokus hat das übrigens nichts zu tun, der ist nur für Tastatureingaben wichtig.

Huhu, also kann ich den Ckick gar nicht in einem Inaktiven Fenster wirken lassen?

MfG

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.