The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

    • To prove my @VodafoneIT purchase and a (barely readable: their printer was out of toner) contract. Thanks a million in advance. 30 minutes ago
    • The shop is closed, I need to speak at a conference and I have no reliable internet there. Please @VodafoneIT help me. I have receipt (3/..) 30 minutes ago
    • after using 250 megabytes sending me SMS like 404 ''il tuo credito è insufficiente per navigare in internet" @VodafoneIT (2/...) 31 minutes ago
    • Dear @VodafoneIT for EUR 30, your shop at Corsa Buenos Aires in Milan sold me a 7 gigabyte 1 month prepaid card. It stopped working (1/...) 33 minutes ago
    • G+: not 100% accurate any more (now that the compiler gets more and more LLVM), but still accurate for most of the… plus.google.com/10941862151256… 2 hours ago
  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,343 other followers

Delphi: interesting SO question + answer on using AllocateHWND to route TThread messages to a message handler in a TObject descendant (via: delphi – Custom Messages in Non-Windowed Classes – need a default handler? – Stack Overflow)

Posted by jpluimers on 2012/06/19

The delphi – Custom Messages in Non-Windowed Classes – need a default handler? – Stack Overflow thread on SO is very interesting.

It explains how to use AllocateHWND to route messages for a TThread into a message handler of an object instance.

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 1,343 other followers

%d bloggers like this: