24FreelanceMercato freelance che non dorme mai
Chiuso

Function for the program (stop) by pressing the keys

1 215 visualizzazioni 3 risposte#8197
Stato del progetto
Closed
BudgetNegoziale
FormatoProgetto una tantumnessun prepagamento
PagamentoDenaro elettronico
Risposte accettateFinitofino a 25.09.2017
Risposte3media della categoria: 0,3
Visualizzazioni1 21516 in 14 giorni

Descrizione del progetto

There's an endless cycle. In this cycle, different windows (many windows) are minimized, then maximized.
This cycle is endless. You need to stop this cycle by pressing the Escape key. The problem is that the main form window is Form1.
It is not displayed at all while this cycle is going on, because The cycle displays other windows - all in a row.
They flash on the screen all the time. And it is not possible from Form1 to catch the Escape press using Form1.OnkeyDown.
So. This Form1 form is not active (it is not visible on the screen at all). How to make Escape key control from Form1?
Form1 is required even when it is not active in catching any keystrokes (including functional ones).

I made one option: I created a new Form_Wait_For_Key form that waits for Escape to be pressed for a while.
According to the timer, it transmits information to Form1 that the Escape key has been pressed.
But here's a new problem. When you display Form_Wait_For_Key by the Show method, this form is Form_Wait_For_Key.
It is visible on the screen (over all windows), but it is inactive and is inactive.
She doesn't catch the keystrokes. How do you make the form active? What are the methods and properties for this?
The Form.Active property can only be read, but I have to write it down. Make the shape active. How do you do that?

What needs to be done:
1. Ideally, I'd like to do a global key capture from an inactive form -- any keys.
I was told it was done with WH_KEYBOARD_LL, but I don't know how.

2. First of all, you need to make a quick version with Form_Wait_For_Key. We need a way to make the form active.

How much will all this cost?
It's urgent.
Sviluppo software Denaro elettronico

Protezione escrow SafeDeal

I fondi sono bloccati in escrow Payora USDT (TRC-20) e rilasciati al professionista solo dopo l’approvazione della consegna.

24
Venti · consiglio

Come scrivere una risposta che venga scelta

  • Inizia con il compito del cliente, non con una storia su di te.
  • Collega uno o due lavori simili dal tuo portfolio.
  • Indica un prezzo e una scadenza — e cosa includono esattamente.
  • Fai una domanda di chiarimento: inizia la conversazione.

Risposte 3

I testi delle risposte sono visibili solo al cliente.

Stessa categoria

Progetti simili

Tutti i progetti nella categoria
Website accessibility audit against WCAG

Website accessibility audit against WCAG

We need an independent WCAG accessibility audit of our website: keyboard, contrast, screen readers and a clear report with fixes.

Sviluppo software24.09.20260236
0risposte
Buono a sapersi
Come rispondo a questo progetto?

Accedi come freelancer, descrivi come risolverai il compito, indica il tuo prezzo e la scadenza. Il cliente legge le risposte e inizia un dialogo con le migliori.

Chi può vedere la mia risposta?

Solo il cliente che ha pubblicato il progetto e tu. Altri freelancer non vedono il tuo testo o prezzo.

Dove posso trovare lavori simili?

Nuovi progetti in “Sviluppo software” appaiono ogni giorno. Tutti i progetti nella categoria

Cosa risponde questa pagina