Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Feature request, get GDC window handle  (Read 10614 times)
David H.
Posts: 158


« on: February 21, 2008, 09:36:16 am »

Hi All,

I'd like the ability to get the handle (Windows terminology) of the GDC window in focus. The reason I'd like it is to use with customised runner functions, which make various Windows API calls which in this instance allow users to setup mappings for printers, so say report X automatically goes to printer Y in font W, size N in landscape etc. Windows API calls which produce dialogs, i.e. printer setup, font selection etc, benefit from knowing the handle so they correctly focus themselves.
I assume windows in other Window managers must have some sort of unique identifier or handle.

Currently I'm deducing this by using a FindWindow() API call to try to find the GDC window using its name, but this is messy at best as the window name can change...

TIA,

David

Lionel F.
Four Js
Posts: 82


« Reply #1 on: February 21, 2008, 04:51:25 pm »

Hi David,

For now it's not possible to achieve this. I filled a new enhancement request :
Bz.#9685 => Getting the Window's handle of a GDC window.

The information has been transmitted to the development team who'll consider this feature.

Anyway, thank you for the suggestion.

Best regards,
Lionel


David H.
Posts: 158


« Reply #2 on: July 10, 2008, 03:34:58 pm »

I just noticed the "getwindowid" Front End Function in the v2.20 new features! TVM to whoever implemented this :-)
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines