24FreelanceRynek freelancerów, który nigdy nie śpi
Zamknięte

Function for the program (stop) by pressing the keys

1 214 przeglądów 3 opinie#8197
Status projektu
Closed
BudżetDo negocjacji
FormatProjekt jednorazowybrak zaliczki
PłatnośćE-pieniądze
Odpowiedzi akceptowaneZakończonedo 25.09.2017
Odpowiedzi3średnia w kategorii: 0,3
Widoki1 21418 w ciągu 14 dni

Opis projektu

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.

Ochrona escrow SafeDeal

Środki są blokowane na rachunku escrow Payora w USDT (TRC-20) i wypłacane wykonawcy dopiero po akceptacji pracy.

24
Dwadzieścia · wskazówka

Jak napisać odpowiedź, która zostanie wybrana

  • Zacznij od zadania klienta, a nie od opowieści o sobie.
  • Podlinkuj jedno lub dwa podobne projekty ze swojego portfolio.
  • Podaj cenę i termin — oraz co dokładnie one obejmują.
  • Zadaj jedno pytanie wyjaśniające: to rozpoczyna rozmowę.

Odpowiedzi 3

Teksty odpowiedzi są widoczne tylko dla klienta.

Ta sama kategoria

Podobne projekty

Wszystkie projekty w kategorii
Warehouse inventory app with barcode scanner

Warehouse inventory app with barcode scanner

Looking for a developer to build a mobile warehouse inventory app with barcode scanning, receiving, dispatch, stocktake and reports.

Rozwój oprogramowania24.09.20260234
0opinii
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.

Rozwój oprogramowania24.09.20260235
0opinii
Dobrze wiedzieć
Jak mogę odpowiedzieć na ten projekt?

Zaloguj się jako freelancer, opisz, jak rozwiążesz zadanie, podaj swoją cenę i termin. Klient czyta odpowiedzi i zaczyna dialog z najlepszymi.

Kto może zobaczyć moją odpowiedź?

Tylko klient, który opublikował projekt, oraz ty. Inni freelancerzy nie widzą twojego tekstu ani ceny.

Gdzie mogę znaleźć podobne prace?

Nowe projekty w „Rozwój oprogramowania” pojawiają się codziennie. Wszystkie projekty w kategorii

Na jakie zapytania odpowiada ta strona