Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-11

wndproc

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jeff Wormsley
to Shane Miller: OK, how do I get the KEYPRESS and such messages into wndproc? I can't call it normally…

Perhaps a variant record type?

Jeff.

*********** REPLY SEPARATOR ***********

AM Shane Miller wrote 8 lines
OK, how do I get the KEYPRESS and such messages into wndproc? I can't call it normally because I need to send a TLMKEY record structure (or something like that) and wndproc expects a TLMessage structure. I CAN'T typecast it so how do I send this? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marc Weustink
to Shane Miller: OK, how do I get the KEYPRESS and such messages into wndproc? I can't call it normally…

+ From: Shane Miller
+
+ OK, how do I get the KEYPRESS and such messages into wndproc?
+ I can't call it normally because I need to send a TLMKEY
+ record structure (or something like that) and wndproc expects
+ a TLMessage structure. I CAN'T typecast it so how do I send this?

Can you create a TLMessage (LM_KEYPRESSED) and fill in the info needed (without typecasting) ? I haven't acces to the sources here

Marc

Reply by email

Shane Miller

There are a few events now using the wndproc I am converting the rest as I go.
What I am doing is calling TContol(data).WindowProc(Msg); Problem is it's expecting a TLMessage record and for events like a keypress, it sends a TLKeyPress record. Not sure what to do, but I'll figure it out...
------------------------------------------------------------ Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------

Earlier message 21 lines
-----Original Message----- From: Marc Weustink To: Date: Thursday, November 04, 1999 12:57 AM Subject: [lazarus] Mailinglist >Is tehre something wrong with the list? >Normally a [lazarus] tag is placed in the header (I filter on that), now it >is gone ? > >Marc > >PS Shane did you look at Perform and Windowproc for your calling WndProc >problem ? > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Shane Miller

OK, how do I get the KEYPRESS and such messages into wndproc? I can't call it normally because I need to send a TLMKEY record structure (or something like that) and wndproc expects a TLMessage structure. I CAN'T typecast it so how do I send this? Shane

Reply by email