J
Jay Chan
I have a couple questions on using custom events:
- I am trying to use custom-events to post messages between two
forms. But this causes a "Circular Dependency" error. I can post
messages from form-A to form-B, or from form-B to form-A. But I cannot
setup custom events to post messages _between_ form-A and form-B. If I
do, I will get a "circular dependency" error message when I attempt to
add a custom-event-handler. Is there a way to avoid this problem?
- Am I actually SENDing a message or POSTing a message when I raise
a custom-event? I am trying to have form-A post a message to form-B
and then finish whatever form-A needs to do, and then I would like
form-B to take care of that message _after_ form-A is done. Is
custom-event the right way to accomplish this?
- Do I have to use PostMessage() Win-API to post a message?
Thanks.
Jay Chan
- I am trying to use custom-events to post messages between two
forms. But this causes a "Circular Dependency" error. I can post
messages from form-A to form-B, or from form-B to form-A. But I cannot
setup custom events to post messages _between_ form-A and form-B. If I
do, I will get a "circular dependency" error message when I attempt to
add a custom-event-handler. Is there a way to avoid this problem?
- Am I actually SENDing a message or POSTing a message when I raise
a custom-event? I am trying to have form-A post a message to form-B
and then finish whatever form-A needs to do, and then I would like
form-B to take care of that message _after_ form-A is done. Is
custom-event the right way to accomplish this?
- Do I have to use PostMessage() Win-API to post a message?
Thanks.
Jay Chan