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


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

Re: how do I find a window handle?

Subject Re: how do I find a window handle?
Newsgroups comp.sys.acorn.programmer
From John Rickman Iyonix <rickman@argonet.co.uk>
Date 2011-12-31 12:06 +0000
Message-ID <ff63334a52.iyojohn@rickman.argonet.co.uk> (permalink)
References <fef0f14952.iyojohn@rickman.argonet.co.uk> <moBLq.67802$925.21472@newsfe16.ams2>
Organization Orpheus Internet Services

Show all headers | View raw


In message <moBLq.67802$925.21472@newsfe16.ams2>
          Steve Drain <steve@kappa.me.uk> wrote:

....
>> I would like to change a display field when the mouse pointer enters
>> one of the windows. In order to do this I need to know
>> the window id of the window concerned....
>> Is there a way to determine a window handle
>> for a window that has been auto-created or do I have to
>> create the windows myself?

> I do not know if AppBasic implements it in itself, but I would use SWI
> Window_GetPointerInfo, which you could use just as it is.

Yes - PROCWindow_GetPointerInfo(object,component,x,y,buttons) gives 
the window handle and winame$=FNUtils_Object(object) returns the name 
of the window as it appears in the Res file.

Thanks for pointing me in the right direction:-)

john

-- 
John Rickman Iyonix

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next 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