SendMessageCallback or Alternative Example  
Author Message
cleohm





PostPosted: Visual C++ General, SendMessageCallback or Alternative Example Top

Hi all,

I am currently using SendMessage in a series of activities that must be carried out in sequence. However, using SendMessage will result in a "hanging" state since it will complete the activities before returning control to the caller.

As I I need to perform an activity on the completion of another, the PostMessage method will result in the triggering of a later activity without waiting for the completion of a required activity.

SendMessageCallback seems to be able to solve my problem but does anyone has an example on this (e.g. how to call as well as how to declare and use the callback function) Or is there any better alternative such as hooks

Regards

cleohm



Visual C++4  
 
 
Damien Watkins - MSFT





PostPosted: Visual C++ General, SendMessageCallback or Alternative Example Top

Hello

Re: SendMessageCallback or Alternative Example

Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1

The more appropriate place for your question is probably one of the Win32 newsgroups: http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/015/topic.xml

OTP

Thanks

Damien