Click here to Skip to main content
13,771,389 members

C / C++ / MFC

 
AnswerRe: c++ - std :: map - Is my idea too dirty? Pin
Jochen Arndt13-Jul-18 0:13
mvpJochen Arndt13-Jul-18 0:13 
GeneralRe: c++ - std :: map - Is my idea too dirty? Pin
0x01AA13-Jul-18 7:54
professional0x01AA13-Jul-18 7:54 
AnswerRe: c++ - std :: map - Is my idea too dirty? Pin
Randor 23-Jul-18 13:20
professional Randor 23-Jul-18 13:20 
PraiseRe: c++ - std :: map - Is my idea too dirty? Pin
0x01AA23-Jul-18 21:48
professional0x01AA23-Jul-18 21:48 
Questionneed COM/DCOM basics Pin
Sakthiu11-Jul-18 4:35
memberSakthiu11-Jul-18 4:35 
AnswerRe: need COM/DCOM basics Pin
jeron111-Jul-18 5:07
memberjeron111-Jul-18 5:07 
QuestionGlobal key press [SOLVED] Pin
Valentinor14-Jul-18 19:38
memberValentinor14-Jul-18 19:38 
SuggestionRe: Global key press Pin
Jochen Arndt10-Jul-18 3:45
mvpJochen Arndt10-Jul-18 3:45 
It depends if "globally" applies to the system (user session) or an application. For an application it depends on the type (console or GUI). With GUI applications it depends also if you want to catch all / multiple or only a single / few key combinations.

The most "global" method is hooking keyboard events with SetWindowsHookEx function (Windows)[^].

For application level handling see About Keyboard Input | Microsoft Docs[^] and follow the links.

To handle only a few specific keyboard events for GUI applications use Accelerators (Hotkeys) processed by the main window of the application.
GeneralRe: Global key press Pin
Valentinor10-Jul-18 9:29
memberValentinor10-Jul-18 9:29 
GeneralRe: Global key press Pin
Jochen Arndt10-Jul-18 22:21
mvpJochen Arndt10-Jul-18 22:21 
GeneralRe: Global key press Pin
Randor 11-Jul-18 0:53
professional Randor 11-Jul-18 0:53 
GeneralRe: Global key press Pin
Valentinor11-Jul-18 6:09
memberValentinor11-Jul-18 6:09 
GeneralRe: Global key press Pin
Jochen Arndt11-Jul-18 7:40
mvpJochen Arndt11-Jul-18 7:40 
GeneralRe: Global key press Pin
Valentinor13-Jul-18 21:45
memberValentinor13-Jul-18 21:45 
GeneralRe: Global key press Pin
Jochen Arndt13-Jul-18 22:00
mvpJochen Arndt13-Jul-18 22:00 
GeneralRe: Global key press Pin
Valentinor14-Jul-18 11:58
memberValentinor14-Jul-18 11:58 
QuestionOnDeviceChange dbcc_name length Pin
Member 138991789-Jul-18 5:34
memberMember 138991789-Jul-18 5:34 
GeneralRe: OnDeviceChange dbcc_name length Pin
Richard MacCutchan9-Jul-18 6:26
protectorRichard MacCutchan9-Jul-18 6:26 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 138991789-Jul-18 21:37
memberMember 138991789-Jul-18 21:37 
GeneralRe: OnDeviceChange dbcc_name length Pin
Richard MacCutchan9-Jul-18 22:04
protectorRichard MacCutchan9-Jul-18 22:04 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 138991789-Jul-18 22:06
memberMember 138991789-Jul-18 22:06 
SuggestionRe: OnDeviceChange dbcc_name length Pin
David Crow9-Jul-18 17:24
memberDavid Crow9-Jul-18 17:24 
AnswerRe: OnDeviceChange dbcc_name length Pin
Jochen Arndt9-Jul-18 23:57
mvpJochen Arndt9-Jul-18 23:57 
GeneralRe: OnDeviceChange dbcc_name length Pin
Member 1389917810-Jul-18 0:26
memberMember 1389917810-Jul-18 0:26 
GeneralRe: OnDeviceChange dbcc_name length Pin
Jochen Arndt10-Jul-18 0:42
mvpJochen Arndt10-Jul-18 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.181119.1 | Last Updated 20 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid