comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Window active event?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Window active event? [message #31762 is a reply to message #31761] Wed, 14 August 2002 10:58 Go to previous message
notspecified is currently offline  notspecified
Messages: 14
Registered: February 2002
Junior Member
On 14 Aug 2002 10:33:15 -0700, bjones8@yahoo.com (Brandon Jones)
wrote:

> Hi!
>
> I have a program where I have multiple widget bases each with a draw
> widget inside of it. I want an event to be sent when the individual
> base (window) is made active, or brought to the front.
>
> I know there is the /Viewport_events keyword, but this only sends an
> event when the mouse enters the viewport. I want an event to be sent
> when the window is made active, such as through an Alt-Tab procedure.
>
> Any ideas?
>

Hmm. It seems to me that this is information that you have to ask the
OS for, not IDL. So, how about sending regular timer events to all
your draw windows-- then when the timer event is received, the
receiving draw widget executes the appropriate Win32 function (don't
ask me how-- I have no idea) and finds out from the OS whether it is
the current top window. Ugh.

Matt Feinstein does not include his email address
in the text of usenet postings.
--------
Harvard Law of Automotive Repair: Anything that goes away
by itself will come back by itself.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: UNCOMPRESS files on PCs
Next Topic: Accessing 2D array from pointer array within structure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:03:09 PDT 2025

Total time taken to generate the page: 0.08210 seconds