|
From: yves2010 <su...@vi...> - 2010-08-06 15:52:24
|
Hi In order to take the control of the Windows Gnuplot window (for removing frame, moving, changing its parent etc.), I need its handle, so I have to plot first a dummy plot simply to create the window so that Windows can find it (API function FindWindow), which makes an ugly flicker at the beginning of my app. Is there a way to create and open the terminal window with the SW_HIDE flag, or any other way to obtain the terminal window handle after having issued 'set term win' but before any plotting, so that I can arrange the look of the window before it shows up? Thanks in advance Yves -- View this message in context: http://old.nabble.com/Windows-terminal-window-created-hidden-tp29356461p29356461.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: Petr M. <mi...@ph...> - 2010-08-06 21:55:33
|
> In order to take the control of the Windows Gnuplot window (for removing > frame, moving, changing its parent etc.), I need its handle, so I have to > plot first a dummy plot simply to create the window so that Windows can find > it (API function FindWindow), which makes an ugly flicker at the beginning > of my app. > > Is there a way to create and open the terminal window with the SW_HIDE flag, > or any other way to obtain the terminal window handle after having issued > 'set term win' but before any plotting, so that I can arrange the look of > the window before it shows up? What look do you need? 1. For "set term windows", it's all in wgnuplot.ini 2. In "set term wxt", several options can bee tuned. (The windows terminal lacks many options available in wxt and x11, like size, position, close; you are welcome to contribute.) --- PM |
|
From: yves2010 <su...@vi...> - 2010-08-07 13:15:37
|
I need to SetParent (Windows API) and remove the borders, resize, move, etc. so I really need (and obtain by the way I explained) the Windows handle Yves Petr Mikulik wrote: > >> In order to take the control of the Windows Gnuplot window (for removing >> frame, moving, changing its parent etc.), I need its handle, so I have to >> plot first a dummy plot simply to create the window so that Windows can >> find >> it (API function FindWindow), which makes an ugly flicker at the >> beginning >> of my app. >> >> Is there a way to create and open the terminal window with the SW_HIDE >> flag, >> or any other way to obtain the terminal window handle after having issued >> 'set term win' but before any plotting, so that I can arrange the look of >> the window before it shows up? > > What look do you need? > 1. For "set term windows", it's all in wgnuplot.ini > 2. In "set term wxt", several options can bee tuned. > > (The windows terminal lacks many options available in wxt and x11, like > size, position, close; you are welcome to contribute.) > > --- > PM > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > > -- View this message in context: http://old.nabble.com/Windows-terminal-window-created-hidden-tp29356461p29374500.html Sent from the Gnuplot - Dev mailing list archive at Nabble.com. |
|
From: Tatsuro M. <tma...@ya...> - 2010-08-08 23:53:41
|
Hello
> I need to SetParent (Windows API) and remove the borders, resize, move, etc.
> so I really need (and obtain by the way I explained) the Windows handle
The windows terminal of gnuplot 4.4.0 supports the position and size option as in described in the
help.
set terminal windows {color |monochrome}
{enhanced |noenhanced}
{{font}"fontname{,fontsize}"{<fontsize>}}
{title "Plot Window Title"}
{size <width>,<height>}
{position <x>,<y>}
{close}
Other options you want are not supported now.
Perhaps the raise option on the wxt terminal.
BTW, the wxt terminal lacks the position option.
Regards
Tatsuro
--- yves2010 wrote:
>
> I need to SetParent (Windows API) and remove the borders, resize, move, etc.
> so I really need (and obtain by the way I explained) the Windows handle
>
> Yves
>
> Petr Mikulik wrote:
> >
> >> In order to take the control of the Windows Gnuplot window (for removing
> >> frame, moving, changing its parent etc.), I need its handle, so I have to
> >> plot first a dummy plot simply to create the window so that Windows can
> >> find
> >> it (API function FindWindow), which makes an ugly flicker at the
> >> beginning
> >> of my app.
> >>
> >> Is there a way to create and open the terminal window with the SW_HIDE
> >> flag,
> >> or any other way to obtain the terminal window handle after having issued
> >> 'set term win' but before any plotting, so that I can arrange the look of
> >> the window before it shows up?
> >
> > What look do you need?
> > 1. For "set term windows", it's all in wgnuplot.ini
> > 2. In "set term wxt", several options can bee tuned.
> >
> > (The windows terminal lacks many options available in wxt and x11, like
> > size, position, close; you are welcome to contribute.)
> >
> > ---
> > PM
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > gnuplot-beta mailing list
> > gnu...@li...
> > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Windows-terminal-window-created-hidden-tp29356461p29374500.html
> Sent from the Gnuplot - Dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
--------------------------------------
Are you OK? Online Safety Special Site - Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/security/
|