Click here to Skip to main content
15,912,457 members
Home / Discussions / C#
   

C#

 
GeneralRe: inherited Panel-Control for RadioButtons only [modified] Pin
Subfreq21-May-06 5:53
Subfreq21-May-06 5:53 
QuestionCasting and template like things Pin
seikou20-May-06 23:19
seikou20-May-06 23:19 
AnswerRe: Casting and template like things [modified] Pin
User 665821-May-06 1:45
User 665821-May-06 1:45 
QuestionRe: Casting and template like things [modified] Pin
seikou21-May-06 2:16
seikou21-May-06 2:16 
AnswerRe: Casting and template like things [modified] Pin
Guffa21-May-06 5:50
Guffa21-May-06 5:50 
GeneralRe: Casting and template like things [modified] Pin
User 665821-May-06 7:17
User 665821-May-06 7:17 
QuestionGlobal KeyboardHooks and WiondowsKeyboardHooks Pin
nemopeti20-May-06 22:40
nemopeti20-May-06 22:40 
AnswerRe: Global KeyboardHooks and WiondowsKeyboardHooks Pin
ahmad2x421-May-06 3:06
ahmad2x421-May-06 3:06 
Hi,

I think you can download the Full Source of that article and make some changes on it. and recompile it.

In SystemHookCore.cpp at InternalKeyboardHookCallback function you should mark last line and add
return 1;
instead of that line:

static LRESULT CALLBACK InternalKeyboardHookCallback(int code, WPARAM wparam, LPARAM lparam)
{
	if (code < 0)
	{
		return CallNextHookEx(hookKeyboard, code, wparam, lparam);
	}

	if (UserKeyboardHookCallback != NULL && !keyboardFilter.IsFiltered((int)wparam))
	{
		UserKeyboardHookCallback(code, wparam, lparam);
	}
	return 1;
//	return CallNextHookEx(hookKeyboard, code, wparam, lparam);
}




But I think it is a rapid solution. in addition you should add some mechanism in other class to check in application level that you want to take this action on this character or not.


Ahmadreza Atighechi
GeneralRe: Global KeyboardHooks and WiondowsKeyboardHooks [modified] Pin
nemopeti21-May-06 3:39
nemopeti21-May-06 3:39 
QuestionApplicationContext and Windows Shutdown Pin
redfish3420-May-06 18:17
redfish3420-May-06 18:17 
AnswerRe: ApplicationContext and Windows Shutdown Pin
leppie21-May-06 20:21
leppie21-May-06 20:21 
QuestionStack's & Queue's Pin
BiGjOe.NeT20-May-06 13:13
BiGjOe.NeT20-May-06 13:13 
AnswerRe: Stack's & Queue's Pin
Christian Graus20-May-06 13:41
protectorChristian Graus20-May-06 13:41 
GeneralRe: Stack's & Queue's Pin
BiGjOe.NeT20-May-06 13:47
BiGjOe.NeT20-May-06 13:47 
GeneralRe: Stack's & Queue's Pin
Christian Graus20-May-06 13:53
protectorChristian Graus20-May-06 13:53 
GeneralRe: Stack's & Queue's Pin
BiGjOe.NeT20-May-06 14:01
BiGjOe.NeT20-May-06 14:01 
GeneralRe: Stack's & Queue's Pin
Christian Graus20-May-06 14:26
protectorChristian Graus20-May-06 14:26 
AnswerRe: Stack's & Queue's Pin
Osama E. Adly21-May-06 0:03
Osama E. Adly21-May-06 0:03 
GeneralRe: Stack's & Queue's Pin
BiGjOe.NeT21-May-06 16:43
BiGjOe.NeT21-May-06 16:43 
QuestionUsing DirectSound from a console [modified] Pin
obelisk2920-May-06 13:09
obelisk2920-May-06 13:09 
QuestionDon't call SetValue Pin
Dima Filipiuk20-May-06 11:42
Dima Filipiuk20-May-06 11:42 
QuestionIdiotic Notepad/C#/Command Prompt Questions Pin
...---...20-May-06 11:13
...---...20-May-06 11:13 
AnswerRe: Idiotic Notepad/C#/Command Prompt Questions Pin
mav.northwind21-May-06 2:39
mav.northwind21-May-06 2:39 
QuestionButtonColumn Pin
drc_no120-May-06 8:20
drc_no120-May-06 8:20 
AnswerRe: ButtonColumn Pin
OmegaCD20-May-06 13:32
OmegaCD20-May-06 13:32 

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.