Using PostMessage to make a TBitBtn's OnClick event fire
Posted on 2002-07-29
I have a TBitBtn, is it possible to programmatically make its OnClick event fire with PostMessage (without the user actually clicking on the button)? If so, could you please give me an example.
I would like to use PostMessage rather than calling OnClick directly so it adds it to the message queue rather than firing it immediately in the current event.
Thanks in Advance,