Click here to Skip to main content
15,878,809 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGridColumnStyle Pin
sumeat11-Sep-03 15:04
sumeat11-Sep-03 15:04 
Generalcolor combobox Pin
monrobot1310-Sep-03 14:55
monrobot1310-Sep-03 14:55 
GeneralRemoting and using statements Pin
babarfloyd10-Sep-03 13:17
babarfloyd10-Sep-03 13:17 
GeneralRe: Remoting and using statements Pin
monrobot1310-Sep-03 17:04
monrobot1310-Sep-03 17:04 
GeneralRe: Remoting and using statements Pin
babarfloyd15-Sep-03 7:25
babarfloyd15-Sep-03 7:25 
Generalcustom paging through a DataView Pin
clayne10-Sep-03 10:09
clayne10-Sep-03 10:09 
QuestionCreating a .tif tag with PropertyItem? Pin
RHamilton10-Sep-03 9:33
RHamilton10-Sep-03 9:33 
GeneralKeyboard hook + C# problem Pin
Ylis10-Sep-03 9:28
Ylis10-Sep-03 9:28 
I have created a dll to hook onto all keyboard events (WH_KEYBOARD). The dll seems to work fine and captures messages indicating print screen has been pressed. I have checked that it works as intended by using a counter which counts each time the hookprocess gets called, and then printed the value to a file, which showed a correct value. My C# program in turn which of course is a windows application retrives the message correctly, but ONLY when the window has focus. If it's hidden (hide()) or just isn't in focus, it doesn't seem to process the message.

The C# program starts by defining a custom window and from within it's constructor it installs the hook, and retrives a boolean indicating it's all fine. When the window is destroyed it's destructor uninstalls it. I use Windows XP pro SP1a.

Any help appriciated
GeneralRe: Keyboard hook + C# problem Pin
Donald_a10-Sep-03 23:51
Donald_a10-Sep-03 23:51 
GeneralRe: Keyboard hook + C# problem Pin
Donald_a10-Sep-03 23:56
Donald_a10-Sep-03 23:56 
GeneralRe: Keyboard hook + C# problem Pin
Ylis11-Sep-03 5:05
Ylis11-Sep-03 5:05 
GeneralRe: Keyboard hook + C# problem Pin
Anonymous12-Sep-03 6:01
Anonymous12-Sep-03 6:01 
Generalconvert ASCII into char Pin
devvvy10-Sep-03 7:17
devvvy10-Sep-03 7:17 
GeneralRe: convert ASCII into char Pin
Julian Bucknall [MSFT]10-Sep-03 8:50
Julian Bucknall [MSFT]10-Sep-03 8:50 
GeneralRe: convert ASCII into char Pin
berndg10-Sep-03 8:53
berndg10-Sep-03 8:53 
GeneralGet Content of Panel as Bitmap Pin
Mazdak10-Sep-03 6:28
Mazdak10-Sep-03 6:28 
GeneralText processing and parsing Pin
Den2Fly10-Sep-03 5:34
Den2Fly10-Sep-03 5:34 
GeneralRe: Text processing and parsing Pin
David Stone10-Sep-03 5:39
sitebuilderDavid Stone10-Sep-03 5:39 
GeneralThank you so much. /nt Pin
Den2Fly10-Sep-03 6:24
Den2Fly10-Sep-03 6:24 
GeneralWebService called by Java client Pin
Anonymous10-Sep-03 5:28
Anonymous10-Sep-03 5:28 
GeneralRe: WebService called by Java client Pin
Xiangyang Liu 刘向阳10-Sep-03 15:38
Xiangyang Liu 刘向阳10-Sep-03 15:38 
GeneralAsync model question Pin
Ryan Cromwell10-Sep-03 5:05
Ryan Cromwell10-Sep-03 5:05 
GeneralRe: Async model question Pin
Eric Gunnerson (msft)10-Sep-03 12:16
Eric Gunnerson (msft)10-Sep-03 12:16 
GeneralRe: Async model question Pin
Ryan Cromwell10-Sep-03 13:35
Ryan Cromwell10-Sep-03 13:35 
Generalsimple question... Pin
.gonad10-Sep-03 4:28
.gonad10-Sep-03 4:28 

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.