Hiding an application.

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

Hi all.

I have an app that I need to hide, it basically runs in the background and
sends data to other apps. The working of the application is fine, but I
need a way for user to 'hide' it so it doesn't show on screen. I also need
a way for the user to quickly 're-activate' the application so it is
visible.

I've tried me.visible=false but that completely takes the app away and
doesn't even show it in the running list.

I've looked at the open net cf notify icon, and while showing an icon in the
tray is nice, it doesn't get around the problem that the application shyould
not be visible.

Has anyone done this or have any ideas?

Cheers.
 
Can you not use "smart minimize" Me.MinimizeBox = true or C#:
this.MinimizeBox = true;

The notify icon ould then be iceing on the cake. This would enable you to
reactivate the app via the memory applet and the system tray.

This means your app will never be shutdown, unless of course you code for it.
 
I have the minimisebox property set to true in the form, but there is no
minimise box when the application runs. I can only get the control box to
show.

I'm not sure this version of WM (5.01 - Build 15706.3.5.2) supports the
minimise/maximise boxes on forms.

Any ideas?
Cheers,
 
There is no 'minimize' button as per desktop windows on WM. This is actually
quite confusing for newcomers, but 'X' signifies the default behaviour on WM
and acts as a minimize button '-' on the desktop, Setting MinimizeBox to
false will give you an 'OK' button which acts as a 'X' (WM_CLOSE) on the
desktop.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
 
Back
Top