I am using a console in a PB/DLL6 application as a sort of debug
screen because a listbox wouldn't keep up. This is a propeitary
web server that is sometimes running close to a hundred threads
at a time. Anyways, the problem is this:
When I create a console with AllocConsole, it has the standard
minimize, maximize and close buttons on it. Minimize and maximize
I don't really care about (although I'd like to get rid of them
as well) but the close button is a problem. If the user clicks
on the close button, not only does it close the console, but
it closes the entire application because the messages don't seem
to be differentiated between the console or my main dialogue.
On my main dialogue I have a "Close Debug" button that calls the
FreeConsole and that works fine.... my app stays running and the
console closes.
So the question is, is there a way to keep the console from
being created with a system menu (AllocConsole has no options
it appears) or is there a way for my application to tell a close
from the console apart from one for the main dialogue ?
This application is using EzGui2.0 but I've verified the same
behaviour using just DDT as well.
Ideas ?
------------------
--
Steve Ryckman
mailto:[email protected][email protected]</A>
http://the.nevets.net
screen because a listbox wouldn't keep up. This is a propeitary
web server that is sometimes running close to a hundred threads
at a time. Anyways, the problem is this:
When I create a console with AllocConsole, it has the standard
minimize, maximize and close buttons on it. Minimize and maximize
I don't really care about (although I'd like to get rid of them
as well) but the close button is a problem. If the user clicks
on the close button, not only does it close the console, but
it closes the entire application because the messages don't seem
to be differentiated between the console or my main dialogue.
On my main dialogue I have a "Close Debug" button that calls the
FreeConsole and that works fine.... my app stays running and the
console closes.
So the question is, is there a way to keep the console from
being created with a system menu (AllocConsole has no options
it appears) or is there a way for my application to tell a close
from the console apart from one for the main dialogue ?
This application is using EzGui2.0 but I've verified the same
behaviour using just DDT as well.
Ideas ?
------------------
--
Steve Ryckman
mailto:[email protected][email protected]</A>
http://the.nevets.net
Comment