1. Windows events
- Posted by DB James <larches at comcast.net> May 12, 2007
- 635 views
- Last edited May 13, 2007
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
2. Re: Windows events
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> May 13, 2007
- 623 views
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
3. Re: Windows events
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> May 13, 2007
- 646 views
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 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
4. Re: Windows events
- Posted by DB James <larches at comcast.net> May 13, 2007
- 627 views
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
5. Re: Windows events
- Posted by DB James <larches at comcast.net> May 13, 2007
- 636 views
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 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
6. Windows events
- Posted by jluethje at gmx.de May 09, 2002
- 592 views
Hi all, how can my windows Eu program detect events triggered by any other program? Thanks for any reply, Juergen
7. Re: Windows events
- Posted by tone.skoda at siol.net May 11, 2002
- 603 views
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 > > > >
8. Re: Windows events
- Posted by jluethje at gmx.de May 14, 2002
- 613 views
Hi Brian and Tone, thanks for the info! Best regards, Juergen