1. Remove the "X" from the upper right corner of a console window so that a user cannot close it from there. OR

2. Make a console window start minimized such that nothing shows in the task bar but an icon shows in the system tray.

Anyone have any ideas/experience with this? I've searched MSDN and all over the place and haven't found anything. I'm hoping that's just because I haven't found the right resource yet and not that it's just not possible to do.

Thanks!

David

07-20-2005

ILoveVectors

ive never seen a console window put into the system tray,
but that doesnt mean its impossible, i have seen
a window program without the window (errr)
umm i mean they never created a window for it so it just ran
without a taskbar entry or a system tray entry.
The onyl place you could find it was in the task manager.

If it possible for your program you could try to create it
in a windows specfic application and just never go
about creating a window.

Im not to sure about everything that went into this
im just going off what i saw. Hopefully will
put you in the right direction, i have visited these boards
for a while now, prolly for about a year or two before i
actually registered and i cant remember any good responses
to this question, which i think was asked a few times before.

I did do a board search trying to come up with some good
stuff for you but i couldnt find anything. So good luck,
i hoping if you understand enough or have done soem winAPI
application that you might beable to get somewhere with this.