Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1265

Re: how do I find a window handle?

From Sebastian Barthel <naitsabes@freenet.de>
Newsgroups comp.sys.acorn.programmer
Subject Re: how do I find a window handle?
Date 2012-01-05 15:59 +0000
Organization solani.org
Message-ID <je4hc6$9c6$1@solani.org> (permalink)
References <fef0f14952.iyojohn@rickman.argonet.co.uk>

Show all headers | View raw


Am Sat, 31 Dec 2011 00:11:49 +0000 schrieb John Rickman Iyonix:

> I am trying to write an application using AppBasic ...
> of the windows. In order to do this I need to know the window id of the
> window concerned.
> 
> At the moment the system creates the windows with ToolBoxAutocreated, so
> don't know the handles.

ToolBoxAutocreated Objects should produce an Toolbox Event wich is sent 
back to the Application to inform it about the automatically created 
object (Toolbox_ObjectAutoCreated). This can be checked to get the 
correct handles.

After that the now known handles can be used to check them against 
WimpPoll Event No. 5 wich occurs when the pointer enters a new window.
(Keep in mind, that there is a Pollmask, wich is able to switch this 
function on/off. In AppBasic FNUtils_GetPollMask should be checked if 
PollEvents dosn't work.)

Here is an interesting link for You:
<http://www.mofeel.net/626-comp-sys-acorn-programmer/1382.aspx>

Best regards, Sebastian

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

how do I find a window handle? John Rickman Iyonix <rickman@argonet.co.uk> - 2011-12-31 00:11 +0000
  Re: how do I find a window handle? Steve Drain <steve@kappa.me.uk> - 2011-12-31 10:21 +0000
    Re: how do I find a window handle? John Rickman Iyonix <rickman@argonet.co.uk> - 2011-12-31 12:06 +0000
  Re: how do I find a window handle? Sebastian Barthel <naitsabes@freenet.de> - 2012-01-05 15:59 +0000

csiph-web