Click here to Skip to main content
15,907,497 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to determine the Type of a null-Reference ? Pin
MarkPhB14-Oct-08 0:18
MarkPhB14-Oct-08 0:18 
AnswerRe: How to determine the Type of a null-Reference ? Pin
Simon P Stevens14-Oct-08 0:39
Simon P Stevens14-Oct-08 0:39 
GeneralRe: How to determine the Type of a null-Reference ? Pin
Mark Churchill14-Oct-08 2:35
Mark Churchill14-Oct-08 2:35 
GeneralRe: How to determine the Type of a null-Reference ? Pin
Simon P Stevens14-Oct-08 2:50
Simon P Stevens14-Oct-08 2:50 
GeneralRe: How to determine the Type of a null-Reference ? Pin
Mark Churchill14-Oct-08 2:57
Mark Churchill14-Oct-08 2:57 
AnswerRe: How to determine the Type of a null-Reference ? Pin
Scott Dorman14-Oct-08 8:23
professionalScott Dorman14-Oct-08 8:23 
Questionusing lparam parameter of SendMessage function Pin
Sandeep Kalra13-Oct-08 22:37
Sandeep Kalra13-Oct-08 22:37 
AnswerRe: using lparam parameter of SendMessage function Pin
Simon P Stevens13-Oct-08 23:12
Simon P Stevens13-Oct-08 23:12 
In this case, lparam is a 32 bit value that contains a 16 bit int, an 8 bit int, a 1 bit bool, a 4 bit reserved block, then 3 1 bit bools.

      0-15          16-23      24     25-28      29    30    31
  [16 bit int]   [8 bit int] [bool] [reserved] [bool][bool][bool]
0000000000000000  00000000      0      0000      0      0     0


Combined to form a 32 bit (binary) value.
00000000000000000000000000000000

If you want to pass something into one of these you need to work out where in the bit string the value needs to go, and then combine it to form a 32 bit value you can pass.

But I don't think you need to be passing anything on the lparam. none of them look like they are needed. I would instead suggest that you probably need to send a wm_keyup message aftwards. A lot of apps only respond to keydown when it is followed by a keyup message.

Simon

GeneralRe: using lparam parameter of SendMessage function Pin
Sandeep Kalra13-Oct-08 23:47
Sandeep Kalra13-Oct-08 23:47 
GeneralRe: using lparam parameter of SendMessage function Pin
Simon P Stevens14-Oct-08 0:30
Simon P Stevens14-Oct-08 0:30 
GeneralRe: using lparam parameter of SendMessage function Pin
Sandeep Kalra14-Oct-08 0:52
Sandeep Kalra14-Oct-08 0:52 
GeneralRe: using lparam parameter of SendMessage function Pin
Simon P Stevens14-Oct-08 2:47
Simon P Stevens14-Oct-08 2:47 
QuestionRe: using lparam parameter of SendMessage function Pin
Mark Salsbery14-Oct-08 4:42
Mark Salsbery14-Oct-08 4:42 
AnswerRe: using lparam parameter of SendMessage function Pin
Sandeep Kalra14-Oct-08 18:23
Sandeep Kalra14-Oct-08 18:23 
AnswerRe: using lparam parameter of SendMessage function [modified] Pin
#realJSOP13-Oct-08 23:49
professional#realJSOP13-Oct-08 23:49 
QuestionAjax modal pop extender query Pin
dsaikrishna13-Oct-08 22:18
dsaikrishna13-Oct-08 22:18 
QuestionInvalid character while using xmldocument.load? Pin
.NetRams13-Oct-08 20:32
.NetRams13-Oct-08 20:32 
AnswerRe: Invalid character while using xmldocument.load? Pin
Guffa13-Oct-08 20:34
Guffa13-Oct-08 20:34 
AnswerRe: Invalid character while using xmldocument.load? Pin
Brij13-Oct-08 22:56
mentorBrij13-Oct-08 22:56 
AnswerRe: Invalid character while using xmldocument.load? Pin
Jakob Olsen14-Oct-08 0:58
Jakob Olsen14-Oct-08 0:58 
JokeRe: Invalid character while using xmldocument.load? Pin
Guffa14-Oct-08 2:51
Guffa14-Oct-08 2:51 
GeneralRe: Invalid character while using xmldocument.load? Pin
Mark Salsbery14-Oct-08 4:46
Mark Salsbery14-Oct-08 4:46 
QuestionHelp in WMI Pin
lal001213-Oct-08 20:20
lal001213-Oct-08 20:20 
AnswerRe: Help in WMI Pin
Uros Calakovic14-Oct-08 4:38
Uros Calakovic14-Oct-08 4:38 
QuestionXML as DataBase Pin
E_Gold13-Oct-08 19:58
E_Gold13-Oct-08 19:58 

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.