[fpc-pascal]How to set focus to graph window?

Florian Klaempfl Florian.Klaempfl at gmx.de
Thu Mar 13 12:41:38 CET 2003

Bernhard Steffen wrote:
> I'm using the graph unit to provide graphing capabilities for my program
> (Win 32 platform). The graph window opens as a separate window, which is
> ok for me - except one point: The graph window gets opened with the
> least important position in Z-order (ie: all other windows are in front
> of this window).
> Is there a way to set the focus to the freshly opened graph window from
> within my program? (eg: open a graph window and define this as the
> foremost window, in front even of the opening program)
> Any help appreciated, thanks in advance

Hmmm, I wrote the graph unit for win32 and I don't know an "official" 
way, so I guess you've to modify the graph unit sources.

More information about the fpc-pascal mailing list