Re: Detecting Window
- From: "Fufi" <fufi@xxxxxxxxxx>
- Date: Fri, 30 Sep 2005 06:29:10 +0100
Thanx for the help, there is to mouch to do in order to achive the
results...
Time ago I find out a nice component called GpSysHook
And that works fine just for the first run.
Due to unloaded DLL after closing is inpossible to run it again without
restart PC.
I contact the Author Primoz Gabrielcic and his answer was that Hi dont know
it why.
I suppose this problem occour cause I install the component on D6 instead of
D5 for
which the comp was designed.
So my problem now is how to unload the DLL
"Nicholas Sherlock" <n_sherlock@xxxxxxxxxxx> wrote in message
news:dhi2m6$si4$2@xxxxxxxxxxxxxxxxxx
> Fufi wrote:
> > Hi, someone know for a good component or code that
> > can I use to detect global Windows messages
> > about windows are opened/closed.
> >
> > I dont need to detect what window was opened,
> > but just that some window was opened....
>
> Install a system-wide CBT hook (See Google). The Platform SDK has this
> to say about CBT hooks:
>
> "The CBTProc hook procedure is an application-defined or library-defined
> callback function used with the SetWindowsHookEx function. The system
> calls this function before activating, creating, destroying, minimizing,
> maximizing, moving, or sizing a window; before completing a system
> command; before removing a mouse or keyboard event from the system
> message queue; before setting the keyboard focus; or before
> synchronizing with the system message queue. A computer-based training
> (CBT) application uses this hook procedure to receive useful
> notifications from the system."
>
> Cheers,
> Nicholas Sherlock
.
- References:
- Detecting Window
- From: Fufi
- Re: Detecting Window
- From: Nicholas Sherlock
- Detecting Window
- Prev by Date: Re: Delphi and DSP
- Next by Date: Re: Re: strange anomalies when using an iteration variable twice in 1 function
- Previous by thread: Re: Detecting Window
- Next by thread: Re: Detecting Window
- Index(es):
Relevant Pages
|