Click here to Skip to main content
15,908,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: changing row color in a datagrid Pin
Robert Rohde28-Dec-04 22:08
Robert Rohde28-Dec-04 22:08 
GeneralAutonumber is not showing up in the child table Pin
msogun28-Dec-04 18:16
msogun28-Dec-04 18:16 
GeneralRe: "This row already belongs to this table." Pin
Robert Rohde28-Dec-04 22:05
Robert Rohde28-Dec-04 22:05 
Generalread a .xsd file and write it on a xml file with data's automatically written Pin
dhol28-Dec-04 16:55
dhol28-Dec-04 16:55 
Generalscreen capture using WMEncoder Pin
Member 161799928-Dec-04 13:11
Member 161799928-Dec-04 13:11 
GeneralCapture the Fn key on a laptop Pin
sparker6228-Dec-04 9:31
sparker6228-Dec-04 9:31 
GeneralRe: Capture the Fn key on a laptop Pin
Heath Stewart28-Dec-04 10:08
protectorHeath Stewart28-Dec-04 10:08 
GeneralRe: Capture the Fn key on a laptop Pin
sparker6228-Dec-04 10:37
sparker6228-Dec-04 10:37 
Let me see if I understand. Here's a scenario. I press the Fn key and another key, say F10, and I have a program that will capture keystrokes using the SetWindowsHookEx, etc. I will get the virtual key code for the F10 and pass it to the GetKeyState method. The GetKeyState method will return me a value. That value will let me know whether the Fn key was pressed at the same time as the F10 key. Is that correct?

Question then becomes what is the return value from GetKeyState? MSDN says:

"If the high-order bit is 1, the key is down; otherwise, it is up.
If the low-order bit is 1, the key is toggled. A key, such as the CAPS LOCK key, is toggled if it is turned on. The key is off and untoggled if the low-order bit is 0. A toggle key's indicator light (if any) on the keyboard will be on when the key is toggled, and off when the key is untoggled."

So could the value be somewhere inbetween?

Please forgive me if my questions are simple. I'm new to this type of programming and am just trying to have it make sense.

Thanks
GeneralRe: Capture the Fn key on a laptop Pin
Heath Stewart28-Dec-04 10:39
protectorHeath Stewart28-Dec-04 10:39 
QuestionHow to write { character to a text file? Pin
James Rossiter28-Dec-04 7:43
James Rossiter28-Dec-04 7:43 
AnswerRe: How to write { character to a text file? Pin
Guinness4Strength28-Dec-04 7:53
Guinness4Strength28-Dec-04 7:53 
AnswerRe: How to write { character to a text file? Pin
leppie28-Dec-04 8:21
leppie28-Dec-04 8:21 
Questionupdate listview subitems without redrawing the whole row? Pin
dfsgdsfgdfg28-Dec-04 7:39
dfsgdsfgdfg28-Dec-04 7:39 
GeneralA customized TabControl (no tabs..) Pin
R W Briggs28-Dec-04 7:23
R W Briggs28-Dec-04 7:23 
GeneralTextBox color Pin
picasso228-Dec-04 7:22
picasso228-Dec-04 7:22 
GeneralRe: TextBox color Pin
Identity Undisclosed28-Dec-04 7:42
Identity Undisclosed28-Dec-04 7:42 
GeneralRe: TextBox color Pin
R W Briggs28-Dec-04 9:09
R W Briggs28-Dec-04 9:09 
GeneralCombo ControlArray - Selected Item Pin
Sylesh28-Dec-04 7:19
Sylesh28-Dec-04 7:19 
GeneralRe: Combo ControlArray - Selected Item Pin
Guinness4Strength28-Dec-04 7:56
Guinness4Strength28-Dec-04 7:56 
GeneralRe: Combo ControlArray - Selected Item Pin
Identity Undisclosed28-Dec-04 8:09
Identity Undisclosed28-Dec-04 8:09 
GeneralRe: Combo ControlArray - Selected Item Pin
Sylesh29-Dec-04 3:03
Sylesh29-Dec-04 3:03 
GeneralRe: Combo ControlArray - Selected Item Pin
Identity Undisclosed29-Dec-04 7:21
Identity Undisclosed29-Dec-04 7:21 
GeneralRe: Combo ControlArray - Selected Item Pin
sreejith ss nair28-Dec-04 16:12
sreejith ss nair28-Dec-04 16:12 
GeneralRetrieving HTML Source for a given website Pin
Anand Mudliar28-Dec-04 7:07
Anand Mudliar28-Dec-04 7:07 
GeneralRe: Retrieving HTML Source for a given website Pin
Jesse Squire28-Dec-04 7:34
Jesse Squire28-Dec-04 7:34 

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.