Click here to Skip to main content
15,910,886 members
Home / Discussions / C#
   

C#

 
GeneralSystem.Drawing.Printing.PrinterSettings Pin
Hugo Migneron3-Nov-04 6:31
Hugo Migneron3-Nov-04 6:31 
GeneralRe: System.Drawing.Printing.PrinterSettings Pin
sreejith ss nair3-Nov-04 17:23
sreejith ss nair3-Nov-04 17:23 
GeneralRe: System.Drawing.Printing.PrinterSettings Pin
Hugo Migneron4-Nov-04 3:32
Hugo Migneron4-Nov-04 3:32 
GeneralFlash Form Title Bar Pin
Member 8730573-Nov-04 5:05
Member 8730573-Nov-04 5:05 
QuestionFlash GUI article??? Pin
eshipman3-Nov-04 4:46
eshipman3-Nov-04 4:46 
GeneralIcons in Task bar Pin
sommarafton3-Nov-04 4:29
sommarafton3-Nov-04 4:29 
GeneralRe: Icons in Task bar Pin
Alex Korchemniy3-Nov-04 8:14
Alex Korchemniy3-Nov-04 8:14 
GeneralDetect "Minimize" and "Autostart" Pin
Stefan Troschuetz3-Nov-04 3:25
Stefan Troschuetz3-Nov-04 3:25 
Hi CPs!

I'm currently writing my first application that uses a NotifyIcon and everything works fine except the following two things.

1. I want to hide the NotifyIcon as long as the main form of my application isn't minimized. But I'm not sure how to detect the "Minimize event" as their is no such event or I'm to stupid to find it. So I thought about catching the Resize event of my form and querying the WindowState property there. Would this work or is there a better way?

2. I want to hide the main form of my application and only display the NotifyIcon if my application was started by Windows Autostart, whereas the main form should by shown if the user "normally" starts the application. Is their any way to detect this?

THX in advance







www.troschuetz.de
GeneralRe: Detect "Minimize" and "Autostart" Pin
Nick Parker3-Nov-04 4:40
protectorNick Parker3-Nov-04 4:40 
GeneralRe: Detect "Minimize" and "Autostart" Pin
Stefan Troschuetz3-Nov-04 4:49
Stefan Troschuetz3-Nov-04 4:49 
GeneralRe: Detect "Minimize" and "Autostart" Pin
Christian Pedersen3-Nov-04 5:04
Christian Pedersen3-Nov-04 5:04 
GeneralRe: Detect "Minimize" and "Autostart" Pin
Stefan Troschuetz3-Nov-04 22:54
Stefan Troschuetz3-Nov-04 22:54 
Generalretrive single fieald form database Pin
webhay3-Nov-04 3:12
webhay3-Nov-04 3:12 
GeneralRe: retrive single fieald form database Pin
Looney Tunezez3-Nov-04 7:19
Looney Tunezez3-Nov-04 7:19 
GeneralRe: retrive single fieald form database Pin
cnet20083-Nov-04 16:06
cnet20083-Nov-04 16:06 
GeneralRe: retrive single fieald form database Pin
turbochimp5-Nov-04 9:12
turbochimp5-Nov-04 9:12 
Generalinheritance from an interface and base class problem Pin
impeham3-Nov-04 2:13
impeham3-Nov-04 2:13 
GeneralRe: inheritance from an interface and base class problem Pin
Daniel Turini3-Nov-04 2:51
Daniel Turini3-Nov-04 2:51 
GeneralRe: inheritance from an interface and base class problem Pin
impeham3-Nov-04 4:03
impeham3-Nov-04 4:03 
GeneralRe: inheritance from an interface and base class problem Pin
sreejith ss nair3-Nov-04 3:06
sreejith ss nair3-Nov-04 3:06 
QuestionUPNP anyone? Pin
Assaad Chalhoub3-Nov-04 1:42
Assaad Chalhoub3-Nov-04 1:42 
AnswerRe: UPNP anyone? Pin
sreejith ss nair3-Nov-04 3:10
sreejith ss nair3-Nov-04 3:10 
QuestionHow to use "RasGetProjectionInfo" in C#??? Pin
hailei3-Nov-04 0:55
hailei3-Nov-04 0:55 
AnswerRe: How to use "RasGetProjectionInfo" in C#??? Pin
Alex Korchemniy3-Nov-04 8:08
Alex Korchemniy3-Nov-04 8:08 
GeneralRe: How to use "RasGetProjectionInfo" in C#??? Pin
hailei3-Nov-04 14:27
hailei3-Nov-04 14:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.