Is there a way to send a user message to any of app's active dialogs?
- From: Mike Silva <snarflemike@xxxxxxxxx>
- Date: Fri, 28 Sep 2007 17:36:04 -0700
I have an app that receives external HW-driven events, and I need to
pass that information along to any of a number of dialogs that may be
active when the event occurs (there can only be one active at any
given time). I thought some version of PostMessage would work, but I
can't get it to work. It does work if the dialog, on initializing,
passes back to the app its hWnd, and the app then uses that hWnd in
PostMessage. I can use that technique if I need to, but I'm hoping
there's a way for an app to post a message to an active dialog without
first knowing its hWnd. Sorry if this is obvious...
Mike
.
- Follow-Ups:
- Re: Is there a way to send a user message to any of app's active dialogs?
- From: Joseph M . Newcomer
- Re: Is there a way to send a user message to any of app's active dialogs?
- Prev by Date: Re: WindowsXP Explorer selection highlight - how is it done?
- Next by Date: Re: how to differentiate a single click from a double click in CTreeviewCtrl
- Previous by thread: Re: WindowsXP Explorer selection highlight - how is it done?
- Next by thread: Re: Is there a way to send a user message to any of app's active dialogs?
- Index(es):
Relevant Pages
|