Re: mpossible strange behaviour with sendmessage (make no sense at all)

Tech-Archive recommends: Speed Up your PC by fixing your registry



Im still tinking the way .net manage the conversion of the lparam to
string in my sendmessage is the cause of this.

But WM_GETTEXT is working correctly.... the difference is that
WM_GETTEXT use a parameter for the size of the string.

I will use WM_GETTEXT as a workaround... so thanks to everybody who
try to help.

BUT still want to understand that behaviour...dont hesitate if you
have an explanation. Send an email to michelqa@xxxxxxxx if you want
to take a look at the problem in my C# project

Thanks again.

.



Relevant Pages

  • Re: Marshaling a string (and struct) for call to SendMessage
    ... Is there no way to do this through SendMessage? ... You will have to find another way to marshal the string across the ... >> I am attempting to set the text on a richedit control in another ... >> public struct SETEXTEX ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SendKeys is affected by clicking on Close button
    ... it's not necessary to create an aliased SendMessage declare ... ... leave it as lparam as any and pass the string using Byval strPassword. ... The problem had to be with the way I was passing lParam since SendMessage ... handle for the Project Properties window could not be used to get the Lock ...
    (microsoft.public.vb.general.discussion)
  • SendMessage WM_SETTEXT Issues
    ... I have gotten my head around things better regarding SendMessage ... when I use WM_SETTEXT to send my string it is not imputing ... Private Declare Function SendMessage Lib "user32" Alias ... Private Declare Function FindWindow Lib "user32" Alias ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Probleme bei Datenaustausch zwischen 2 Prozessen
    ... String) von der C#-Anwendung an den vb6 Prozess geschickt. ... den String einfach einer Collection ... Auch Dein Acknowledge ist unklar - SendMessage? ...
    (microsoft.public.de.vb)
  • Re: copy struct to buffer
    ... problem converting a struct to a string. ... sendmessage is supposed to send off the data but instead I get ... have to convert the packet I built to a long string, ... void sendmessage(char *serverinfo, char sendBuf) ...
    (comp.unix.programmer)