[fpc-pascal]How to set focus to graph window?
Marco van de Voort
marcov at stack.nl
Thu Mar 13 16:36:20 CET 2003
> > > 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.
> I have no idea if this will help or not, but if the original poster can
> either get the windows handle or find the handle from the class/title of
> the window, they can use Win API calls to gain focus. [I'm assuming this
> is a regular WinAPI window.]
> Something like:
Or is he searching for a way to do
More information about the fpc-pascal