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.

Empfohlene Antworten

Veröffentlicht

Ich möchte in meinem Programm abfragen ob eine bestimmte Tastenkombination (Strg+Shift+C) gedrückt ist.

Habe folgende Abfrage:

if ((GetKeyState(17)<0) && (GetKeyState(16)<0) && (GetKeyState(67)<0))

{

//die tasten sind gedrückt.

}

jetzt ist mir folgendes aufgefallen.

wenn ich zum Beispiel:

C + Shift + Strg

oder

C + Strg + Shift

drückt (also die reihenfolgen) dann funktioniert es.

ABER: bei der Reihenfolge:

Strg+Shift+C

Funktioniert die Abfrage nicht, weil angeblich C nicht gedrückt ist.

Anfangs dachte ich dass es daran liegt dass ich die "Shift" Taste zuerst drücke und somit kein "kleines c" sondern ein "großes C" signalisiert wird wenn ich "C" drücke.

aber die Tastenkombination

Shift + C + Strg funktioniert auch.

also kann es an dem "großen C" nicht liegen.

wisst ihr an was es liegen könnte?

wär echt super.

danke swordmaster

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.