Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Buggy Debug? Pin
dazinith9-Aug-02 4:07
dazinith9-Aug-02 4:07 
AnswerRe: Buggy Debug? Pin
Chris Losinger8-Aug-02 19:37
professionalChris Losinger8-Aug-02 19:37 
AnswerRe: Buggy Debug? Pin
Jeremy Pullicino8-Aug-02 23:42
Jeremy Pullicino8-Aug-02 23:42 
GeneralTimers, Windows and a stupid DLL Pin
User 66588-Aug-02 10:07
User 66588-Aug-02 10:07 
GeneralIAS Extension DLL Pin
Mauricio Ritter8-Aug-02 9:27
Mauricio Ritter8-Aug-02 9:27 
GeneralHeelp!! Double buffering!! Pin
Rickard Andersson208-Aug-02 8:19
Rickard Andersson208-Aug-02 8:19 
GeneralRe: Heelp!! Double buffering!! Pin
Rickard Andersson208-Aug-02 8:40
Rickard Andersson208-Aug-02 8:40 
GeneralKey codes from low level hooks Pin
Alex Korchemniy8-Aug-02 8:19
Alex Korchemniy8-Aug-02 8:19 
I setup a low level keyboard hook using SetWindowsHookEx(), and the hook proc. Everything works fine, but I dont know how to figure out what key was pressed.

Microsoft docs :
LRESULT CALLBACK LowLevelKeyboardProc(
int nCode, // hook code
WPARAM wParam, // message identifier
LPARAM lParam // message data
);

docs say this about lParam
lParam
[in] Pointer to a KBDLLHOOKSTRUCT structure.

here is the doc for kbdllhoststruct:
typedef struct tagKBDLLHOOKSTRUCT {
DWORD vkCode;
DWORD scanCode;
DWORD flags;
DWORD time;
ULONG_PTR dwExtraInfo;
} KBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT;

HELP!! how do i get the vkCode??? (In the regular keyboard hook the code is stored in wParam, but now its buried) Confused | :confused: Unsure | :~
GeneralRe: Key codes from low level hooks Pin
Renjith Ramachandran8-Aug-02 9:09
Renjith Ramachandran8-Aug-02 9:09 
GeneralRe: Key codes from low level hooks Pin
Jon Hulatt9-Aug-02 1:23
Jon Hulatt9-Aug-02 1:23 
QuestionAutomatic Scrolling in a list box? Pin
Anonymous Dave8-Aug-02 8:15
sussAnonymous Dave8-Aug-02 8:15 
AnswerRe: Automatic Scrolling in a list box? Pin
Tomasz Sowinski8-Aug-02 8:50
Tomasz Sowinski8-Aug-02 8:50 
GeneralRe: Automatic Scrolling in a list box? Pin
Anonymous Dave8-Aug-02 10:04
sussAnonymous Dave8-Aug-02 10:04 
QuestionLines of code in Visual C++ project? Pin
Aaron Schaefer8-Aug-02 8:08
Aaron Schaefer8-Aug-02 8:08 
AnswerRe: Lines of code in Visual C++ project? Pin
Chris Richardson8-Aug-02 8:24
Chris Richardson8-Aug-02 8:24 
GeneralRe: Lines of code in Visual C++ project? Pin
Aaron Schaefer8-Aug-02 8:39
Aaron Schaefer8-Aug-02 8:39 
GeneralSubmenu :: MFC Pin
valikac8-Aug-02 7:52
valikac8-Aug-02 7:52 
GeneralRe: Submenu :: MFC Pin
User 66588-Aug-02 10:36
User 66588-Aug-02 10:36 
GeneralRe: Submenu :: MFC Pin
valikac8-Aug-02 13:25
valikac8-Aug-02 13:25 
GeneralRe: Submenu :: MFC Pin
Cyclist8-Aug-02 17:31
Cyclist8-Aug-02 17:31 
GeneralRe: Submenu :: MFC Pin
valikac9-Aug-02 5:03
valikac9-Aug-02 5:03 
GeneralDialog Boxes connection w/ CDocument Pin
RalfPeter8-Aug-02 6:22
RalfPeter8-Aug-02 6:22 
GeneralRe: Dialog Boxes connection w/ CDocument Pin
Tomasz Sowinski8-Aug-02 6:56
Tomasz Sowinski8-Aug-02 6:56 
GeneralDisabling existing controls in a dialog Pin
Luis E. Cuadrado8-Aug-02 5:26
Luis E. Cuadrado8-Aug-02 5:26 
GeneralRe: Disabling existing controls in a dialog Pin
Tomasz Sowinski8-Aug-02 5:36
Tomasz Sowinski8-Aug-02 5:36 

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.