Sign in Join

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

Mailing lists / lazarus / 1999-08

This should get me much closer, but stillquestions :^(

2 messages · 2 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: You should set the TFOrm's handle property so you'll have the handle in the class.
Shane Miller wrote 7 lines
>Q. Once I get the this far, I am somewhat lost again. For instance, what >do I do to handle something simple like LM_SETTEXT for a TForm? This >should change the form title, correct? How do I get the window handle for >the form, then what message do I send to Windows to do this, and with what >function? You should set the TFOrm's handle property so you'll have the handle in the class.

I think I have a handle (no pun intended) on this now, after the post midnight run of last night, and a few private emails with Michael H. Things are looking up, and I may (fingers crossed) have something to show this evening. At this point, I am handling LCL and Windows messages, but crashing when attempting to Show a window. But it is a start. A few more hours and we'll see.

Jeff.

Reply by email

Shane Miller
Show quoted text 7 lines
1. ???? Q. Once I get the this far, I am somewhat lost again. For instance, what do I do to handle something simple like LM_SETTEXT for a TForm? This should change the form title, correct? How do I get the window handle for the form, then what message do I send to Windows to do this, and with what function?

You should set the TFOrm's handle property so you'll have the handle in the class.

Reply by email