<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Nov 2016 13:47:00 Z</lastBuildDate><pubDate>11 Nov 2016 19:17:00 Z</pubDate><description>Does anyone have any code they want to share that traps and suppresses certain keyboard events such as Alt+F4 and the Windows key?&#13;
&#13;
Right now I'm trying to use Event(), but I'm not sure how to detect key combinations in my event procedure. I'm also not sure how to suppress or cancel the key combination.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events/read.awp</link><title>[WD20] Trapping Keyboard Events</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60329/read.awp</comments><pubDate>13 Nov 2016 13:47:00 Z</pubDate><description>HI Curtis,&#13;
&#13;
Windev comes with an example: WD Hotkey&#13;
&#13;
I did use the example in order to build a password manager with the opt…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60329/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60329/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events/read.awp">[WD20] Trapping Keyboard Events</source><title>Re: [WD20] Trapping Keyboard Events</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60322/read.awp</comments><pubDate>12 Nov 2016 12:56:00 Z</pubDate><description>Curtis,&#13;
I got this from the help for the function that is called like your TrapSystemKeys ()&#13;
&#13;
Note: If the process returns a …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60322/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60322/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events/read.awp">[WD20] Trapping Keyboard Events</source><title>Re: [WD20] Trapping Keyboard Events</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60318/read.awp</comments><pubDate>11 Nov 2016 22:12:00 Z</pubDate><description>PROJECT LEVEL CODE&#13;
Event(TrapKeys,"*.*",WM_KEYDOWN) Event(TrapSystemKeys,"*.*",WM_SYSKEYDOWN)&#13;
PROCEDURE TrapKeys(aMessage, wPa…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60318/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60318/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events/read.awp">[WD20] Trapping Keyboard Events</source><title>Re: [WD20] Trapping Keyboard Events</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60317/read.awp</comments><pubDate>11 Nov 2016 21:24:00 Z</pubDate><description>TrapSystemKeys() is not being called. Any ideas?&#13;
&#13;
PROJECT LEVEL CODE&#13;
Event(TrapSystemKeys,"*.*",WM_SYSKEYDOWN)&#13;
&#13;
&#13;
PROCEDURE…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60317/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60317/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events/read.awp">[WD20] Trapping Keyboard Events</source><title>Re: [WD20] Trapping Keyboard Events</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60316/read.awp</comments><pubDate>11 Nov 2016 20:49:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
if it's only one specific sequence, you can just create a button using it as shortcut and do nothing in it.&#13;
Other…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60316/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events-60316/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60314-wd20-trapping-keyboard-events/read.awp">[WD20] Trapping Keyboard Events</source><title>Re: [WD20] Trapping Keyboard Events</title></item></channel></rss>
