[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

System control keys handling from BCB4 project

Hi!

Anybody can say me how I can handle system control keys:
 Alt-F4 - close application,
 Ctrl-C - copy to Clipboard,
 etc.
from my BCB4 project form?
For example, I would like to disable Ctrl-C handling.. How I can reach it?

Thanks,
 kooper.
0
kooper
Asked:
kooper
1 Solution
 
AlexVirochovskyCommented:
For disable Alt + F4 set Variable CanClose to false in event OnCloseQuery
For disable some other keystroke
try adding a hidden menu item that handles that keystroke - and let the
menu item do exactly nothing.
I hope, it helps. Alex
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now