Title: Feature request, get GDC window handle Post by: David H. 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 Title: Re: Feature request, get GDC window handle Post by: Lionel F. 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 Title: Re: Feature request, get GDC window handle Post by: David H. 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 :-)
|