Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralA new child frame Pin
25-Nov-01 22:19
suss25-Nov-01 22:19 
GeneralRe: A new child frame Pin
Chambers26-Nov-01 0:29
Chambers26-Nov-01 0:29 
GeneralRe: A new child frame Pin
26-Nov-01 1:00
suss26-Nov-01 1:00 
GeneralRe: A new child frame Pin
Chambers26-Nov-01 10:41
Chambers26-Nov-01 10:41 
Questionhow to change the keyboard's Num Lock status programmatically? Pin
haiyan_qi25-Nov-01 22:06
haiyan_qi25-Nov-01 22:06 
AnswerRe: how to change the keyboard's Num Lock status programmatically? Pin
Nish Nishant25-Nov-01 22:17
sitebuilderNish Nishant25-Nov-01 22:17 
GeneralRe: how to change the keyboard's Num Lock status programmatically? Pin
haiyan_qi25-Nov-01 23:27
haiyan_qi25-Nov-01 23:27 
GeneralRe: how to change the keyboard's Num Lock status programmatically? Pin
Nish Nishant25-Nov-01 23:33
sitebuilderNish Nishant25-Nov-01 23:33 
Smile | :)
You read it wrong friend.

What the documentation says is that the indicator lights won't get turned on/off, but the states DO CHANGE for the calling thread.

[snip]
Because the SetKeyboardState function alters the input state of the calling thread and not the global input state of the system, an application cannot use SetKeyboardState to set the num lock, caps lock, or scroll lock indicator lights on the keyboard
[/snip]

Regards
Nish

Sonork ID 100.9786 voidmain
www.busterboy.org
Nish is a BIG fan of Goran Ivanisevic
GeneralRe: how to change the keyboard's Num Lock status programmatically? Pin
Rashid Thadha26-Nov-01 2:53
Rashid Thadha26-Nov-01 2:53 
QuestionMFC and SDK??? Pin
Leesen25-Nov-01 21:11
Leesen25-Nov-01 21:11 
AnswerRe: MFC and SDK??? Pin
mloibl25-Nov-01 21:51
mloibl25-Nov-01 21:51 
QuestionHow use Icons Pin
Eugene Pustovoyt25-Nov-01 20:03
Eugene Pustovoyt25-Nov-01 20:03 
AnswerRe: How use Icons Pin
Nish Nishant25-Nov-01 20:19
sitebuilderNish Nishant25-Nov-01 20:19 
GeneralRe: How use Icons Pin
Eugene Pustovoyt25-Nov-01 21:15
Eugene Pustovoyt25-Nov-01 21:15 
GeneralCD device detection Pin
Jared Allen25-Nov-01 18:50
Jared Allen25-Nov-01 18:50 
Generala question about the pointer of a function Pin
Chen Jiadong25-Nov-01 18:14
Chen Jiadong25-Nov-01 18:14 
GeneralRe: a question about the pointer of a function Pin
Nish Nishant25-Nov-01 18:29
sitebuilderNish Nishant25-Nov-01 18:29 
GeneralRe: a question about the pointer of a function Pin
Chen Jiadong25-Nov-01 21:30
Chen Jiadong25-Nov-01 21:30 
GeneralRe: a question about the pointer of a function Pin
Nish Nishant25-Nov-01 21:53
sitebuilderNish Nishant25-Nov-01 21:53 
GeneralRe: a question about the pointer of a function Pin
Chen Jiadong25-Nov-01 22:17
Chen Jiadong25-Nov-01 22:17 
GeneralRe: a question about the pointer of a function Pin
Jon Hulatt25-Nov-01 22:26
Jon Hulatt25-Nov-01 22:26 
GeneralRe: a question about the pointer of a function Pin
Nish Nishant25-Nov-01 22:29
sitebuilderNish Nishant25-Nov-01 22:29 
GeneralRe: a question about the pointer of a function Pin
Chen Jiadong25-Nov-01 22:38
Chen Jiadong25-Nov-01 22:38 
QuestionAre Compound Files always so big? Pin
longwalk25-Nov-01 17:17
longwalk25-Nov-01 17:17 
AnswerRe: Are Compound Files always so big? Pin
Rob Caldecott25-Nov-01 23:47
Rob Caldecott25-Nov-01 23:47 

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.