24Freelance永不休眠的自由职业市场
关闭

Function for the program (stop) by pressing the keys

1 214 浏览 3 回复#8197
项目状态
Closed
预算可协商
格式一次性项目无预付款
付款电子货币
接受的回复完成直到 25.09.2017
回复3类别平均: 0,3
视图1 214在14天内 15

项目描述

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.
软件开发 电子货币

SafeDeal 担保交易保护

资金锁定在 Payora USDT (TRC-20) 托管账户中,仅在确认验收作品后才会释放给自由职业者。

24
二十 · 提示

如何写出被选中的回复

  • 以客户的任务开头,而不是讲述自己的故事。
  • 链接一到两个来自您作品集的类似作品。
  • 给出一个价格和截止日期——以及它们具体包括什么。
  • 问一个澄清问题:这可以开始对话。

回复 3

回复文本仅对客户可见。

同类类别

类似项目

该类别中的所有项目
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.

软件开发24.09.20260234
0回复
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.

软件开发24.09.20260236
0回复
值得注意
我该如何回应这个项目?

以自由职业者身份登录,描述您将如何解决任务,命名您的价格和截止日期。客户会阅读回复并与最佳的进行对话。

谁能看到我的回复?

只有发布项目的客户和您自己。其他自由职业者无法看到您的文本或价格。

我在哪里可以找到类似的工作?

在“软件开发”中每天都有新项目出现。 该类别中的所有项目

此页面回答的问题