MapWindow 4 - Plugins : MapWindow Discussion Forum
Dear All, When using MapWinGeoProc.Hydrology like: MapWinGeoProc.Hydrology.D8(basinfill, basinflowdir, basinslope, 1, False,CallbackObject) every time a windows shell pops up (where the function call is written). Is it possible to suppress this popping up?
supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: September 20, 2011 03:48AM

Dear All,
When using MapWinGeoProc.Hydrology like:
MapWinGeoProc.Hydrology.D8(basinfill, basinflowdir, basinslope, 1, False,CallbackObject)
every time a windows shell pops up (where the function call is written).
Is it possible to suppress this popping up?

Tobias Vetter

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: pmeems ()
Date: September 20, 2011 07:55AM

This popup is because it calls a separate exe (from TauDEM). It should be minimized.
Are you using the latest version of MapWindow (RC3: v4.8.4)?

--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: October 06, 2011 03:04AM

No, I am using 4.8 R2 (4.8.3).

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: pmeems ()
Date: October 06, 2011 03:16AM

Try the latest version: tinyurl.com/mwMonthly and let us know if that version solves your problem.

--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: October 06, 2011 04:41AM

I updated to the newest version but still the command window always appears.
Maybe I have to call the executables by my own?
Tobias



Edited 1 time(s). Last edit at 10/06/2011 04:41AM by tvetter.

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: pmeems ()
Date: October 06, 2011 12:56PM

Are the command window visible or do they start minimized?

They should be minimized.

--
Paul

--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group

Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.

---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS

Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl

*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: October 07, 2011 01:12AM

It seems that they are minimised but still it appears in the taskbar, which gives a flickering effect. Is it possible to run the executables in background without any command window (like it was before with old taudem library) ?
Tobias

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: October 07, 2011 03:44AM

For me it would better to call the executables with the
AppWinStyle.Hide
option.

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: Chris George ()
Date: October 08, 2011 01:41PM

I originally made the shell window hidden. However, I have known the Taudem program to hang, and if the window is hidden you can't easily kill it, or open it to see what is happening, so I changed it to minimise.

Chris

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: October 10, 2011 05:26AM

It would be nice to have an optional argument to handle the appearance .
Would that be possible?
Tobias

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: Chris George ()
Date: October 19, 2011 01:50PM

It would be possible: which functions would you need the extra parameter for?

But I am still concerned if this is appropriate. For example, if TauDEM runs out of memory when running multi-threaded, then it does not terminate: I guess some of the threads get left hanging. If you run TauDEM in a hidden window it is difficult to do anything - you would probably have to use the task manager to kill MapWindow. If you run TauDEM in a minimised window, as now, you can if necessary open it, see the name of the output log file, and open that to see what is happening. You can also kill the TauDEM function by killing the window.

Chris

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: October 28, 2011 04:40AM

For me it would be good to have this option for all the functions given in
MapWinGeoProc.Hydrology. Since I run Taudem only single threaded, I guess
I will not have memory problems.
Tobias

Options: ReplyQuote
Re: supressing of popups when using MapWinGeoProc.Hydrology
Posted by: tvetter ()
Date: January 20, 2012 03:29AM

Are there any proceedings according to my needs?
Greetings Tobias

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: