Re: PostMessage() Error
- From: "one2001boy@xxxxxxxxx" <one2001boy@xxxxxxxxx>
- Date: Tue, 27 Feb 2007 23:26:58 -0800
Ben Voigt wrote:
Ok, well, wgnuplot is definitely not using a standard windows EDIT control, it might perhaps be a heavily subclassed version but I think it's written almost from scratch.
The correct solution, and if you get this to work all wgnuplot users will probably love you for it, is to get rid of IPC entirely. There's no reason that pgnuplot should need to open wgnuplot and start simulating GUI input in order to process a file from stdin. To do this right, would entail splitting wgnuplot into two pieces, wgnuplot.exe which has the interactive GUI, and a dll (gpshared.dll?) that has all the plot layout, etc features, that need to be accessible from pgnuplot. Then pgnuplot would be changed to invoke this new API instead of the hack it currently is. Note that you won't be able to perfectly separate GUI processing from the plot code in the dll, because of the "windows" output driver. So you'd have to have a function for setting the HWND of the plot window or something to that effect, and then disable the "windows" output driver if it hasn't been properly associated to a window. That would also open up possibilities in integrating gnuplot into other apps using its DLL.
thanks for your good suggestion. will take a look.
.
- References:
- PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: David Webber
- Re: PostMessage() Error
- From: Igor Tandetnik
- Re: PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: Igor Tandetnik
- Re: PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: Alexander Grigoriev
- Re: PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: Igor Tandetnik
- Re: PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: Scott McPhillips [MVP]
- Re: PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: Tim Roberts
- Re: PostMessage() Error
- From: Ben Voigt
- Re: PostMessage() Error
- From: one2001boy@xxxxxxxxx
- Re: PostMessage() Error
- From: Ben Voigt
- PostMessage() Error
- Prev by Date: Re: How can I run '.sql' script from vc++
- Next by Date: Re: Back button
- Previous by thread: Re: PostMessage() Error
- Next by thread: Re: PostMessage() Error
- Index(es):