1. Windows events

Hi,

Anyone know where I can get more information of the events associated with
Windows.  I do have the old Win32.hlp file, but I can't find what I need (so
far).

I am having some trouble learning to program in Windows using Judith's IDE
and win32lib because I'm often not sure the order and conditions of
particular events, such as Open or Activate, occur.  I find myself sticking
code in the wrong event handlers and zipping off into limbo...

--Quark

new topic     » topic index » view message » categorize

2. Re: Windows events

DB James wrote:
> 
> Hi,
> 
> Anyone know where I can get more information of the events associated with
> Windows.  I do have the old Win32.hlp file, but I can't find what I need (so
> far).
> 
> I am having some trouble learning to program in Windows using Judith's IDE
> and win32lib because I'm often not sure the order and conditions of
> particular events, such as Open or Activate, occur.  I find myself sticking
> code in the wrong event handlers and zipping off into limbo...
> 
> --Quark

Isn't the commented list in the Wiki, probably in the win32lib category, 
page "Event-droven programming", providing some good hints already?

As for the w32HOpen event, it fires when the window opens, but _before_ it 
is shown. w32HActivate fires when the window is on display, right before
returning from openWindow(), which WinMain() calls.

CChris

new topic     » goto parent     » topic index » view message » categorize

3. Re: Windows events

DB James wrote:
> 
> Hi,
> 
> Anyone know where I can get more information of the events associated with
> Windows.  I do have the old Win32.hlp file, but I can't find what I need (so
> far).
> 
> I am having some trouble learning to program in Windows using Judith's IDE
> and win32lib because I'm often not sure the order and conditions of
> particular events, such as Open or Activate, occur.  I find myself sticking
> code in the wrong event handlers and zipping off into limbo...
> 
> --Quark
I dunno if this will help, but when I got out of the "newbie handholding" of
win32lib and took on arwen, for speed reasons mainly, and found it to have many
things I really liked (speed mainly blink but also many things missing, eg both
listviews and treeviews, which I ended up adding myself, *that* is the point I
started to learn. Now, and here comes the point, I still know not where to put
code - about a month ago I added a crude "drag and drop" to the filetabs. I can
tell you I did not do so by "knowing where", or reading shedloads of docs
(obviously I gathered what hints I could), but by trial and error elimination of
things.

HTH,
Pete

new topic     » goto parent     » topic index » view message » categorize

4. Re: Windows events

CChris wrote:
> 
> DB James wrote:
> > 
> Isn't the commented list in the Wiki, probably in the win32lib category, 
> page "Event-droven programming", providing some good hints already?
> 
> As for the w32HOpen event, it fires when the window opens, but _before_ it 
> is shown. w32HActivate fires when the window is on display, right before
> returning from openWindow(), which WinMain() calls.
> 
> CChris

Hi,

Yes, looks like some good information there.  I had checked the Wiki out a
while back, and wasn't focused enough apparently to realize later that some
of my questions would be answered there.  The Event-Driven Programming
section was even featured the day of my question.  I'll be reading it all.

Thanks,

--Quark

new topic     » goto parent     » topic index » view message » categorize

5. Re: Windows events

Pete Lomax wrote:
> 
> DB James wrote:
> > 
> > Hi,
> > 
> > Anyone know where I can get more information of the events associated with
> > Windows.  I do have the old Win32.hlp file, but I can't find what I need (so
> > far).

> I dunno if this will help, but when I got out of the "newbie handholding" of
> win32lib and took on arwen, for speed reasons mainly, and found it to have
> many
> things I really liked (speed mainly blink but also many things missing, eg both
> listviews and treeviews, which I ended up adding myself, *that* is the point
> I started to learn. Now, and here comes the point, I still know not where to
> put code - about a month ago I added a crude "drag and drop" to the filetabs.
> I can tell you I did not do so by "knowing where", or reading shedloads of
> docs
> (obviously I gathered what hints I could), but by trial and error elimination
> of things.
> 
> HTH,
> Pete

Hi Pete,

Thanks for your comments.  They are sort of comforting.  If *you* are
managing to program by a combination of knowledge, trial-and-error, and
seat-of-the-pants programming and do as well as you do, then there is some
hope I'll find a way to advance in Windows programming too.  I guess so far,
so good.  I resisted the switch for a long time...

--Quark

new topic     » goto parent     » topic index » view message » categorize

6. Windows events

Hi all,

how can my windows Eu program detect events triggered by any other 
program?

Thanks for any reply,
   Juergen

new topic     » goto parent     » topic index » view message » categorize

7. Re: Windows events

You can do this using windows hooks. Look for them in MSDN or on google,
there is also one sample program in MSDN which uses hooks, or you can find
some sample program on the web, they will be in C/C++ most probably.



----- Original Message -----
From: <jluethje at gmx.de>
To: "EUforum" <EUforum at topica.com>
Subject: Windows events


>
> Hi all,
>
> how can my windows Eu program detect events triggered by any other
> program?
>
> Thanks for any reply,
>    Juergen
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

8. Re: Windows events

Hi Brian and Tone,

thanks for the info!

Best regards,
   Juergen

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu