Click here to Skip to main content
15,888,273 members
Home / Discussions / C#
   

C#

 
GeneralRe: Canon Makernote Pin
Heath Stewart27-May-04 5:41
protectorHeath Stewart27-May-04 5:41 
GeneralRe: Copy Picture From Web Pin
Dave Kreskowiak27-May-04 4:08
mveDave Kreskowiak27-May-04 4:08 
GeneralString Mnipulation problem Pin
ali_naqvi27-May-04 3:01
ali_naqvi27-May-04 3:01 
GeneralRe: String Mnipulation problem Pin
scadaguy27-May-04 3:20
scadaguy27-May-04 3:20 
GeneralRe: String Mnipulation problem Pin
Judah Gabriel Himango27-May-04 3:58
sponsorJudah Gabriel Himango27-May-04 3:58 
Generalstring handilng problem Pin
ali_naqvi27-May-04 2:14
ali_naqvi27-May-04 2:14 
GeneralRe: string handilng problem Pin
bjoernen27-May-04 2:27
bjoernen27-May-04 2:27 
GeneralSystem Tray Application - WindowState Pin
MrEyes27-May-04 1:56
MrEyes27-May-04 1:56 
I am putting together an application that will sit in the systray.

To view the application window the user double clicks the systray icon, or right clicks and selects the necessary context menu option. When the user has finished looking at the application they would then minimise via a minimise button or the form minimise button.

Sounds simple enough, to handle the window state I have this very simple function

private void WindowControl()
{
	if (this.WindowState == FormWindowState.Minimized)
	{
		this.WindowState = FormWindowState.Normal;
	}
	else
	{
		this.WindowState = FormWindowState.Minimized;
	}
}


There are two problems I am coming across, which I believe may be related :

1) When the application starts, the systray icon is display but a little application bar is also shown just above the start button.

2) When the user maximises the application bar disappears, the form is shown, when the user minimises the application bar reappears.

Basically I am looking for a way to completly hide the minimised application bar, to help this post a make a little more sense the following URL points to a screenshot of the problem (17k):

http://24601.net/images/bar.bmp

Thanks
M


post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: System Tray Application - WindowState Pin
Stefan Troschuetz27-May-04 2:45
Stefan Troschuetz27-May-04 2:45 
QuestionVisual Studio rename plugin? Pin
iliyang27-May-04 0:54
iliyang27-May-04 0:54 
AnswerRe: Visual Studio rename plugin? Pin
Dave Kreskowiak27-May-04 4:02
mveDave Kreskowiak27-May-04 4:02 
AnswerRe: Visual Studio rename plugin? Pin
Heath Stewart27-May-04 5:28
protectorHeath Stewart27-May-04 5:28 
Questionhow to write/read the properties in window Pin
g112926-May-04 23:45
g112926-May-04 23:45 
AnswerRe: how to write/read the properties in window Pin
SergeyT227-May-04 2:24
SergeyT227-May-04 2:24 
GeneralRe: how to write/read the properties in window Pin
g112928-May-04 18:53
g112928-May-04 18:53 
GeneralRe: how to write/read the properties in window Pin
SergeyT231-May-04 23:10
SergeyT231-May-04 23:10 
GeneralMeasureItem is not called for menu Pin
Member 54677526-May-04 22:34
Member 54677526-May-04 22:34 
GeneralRe: MeasureItem is not called for menu Pin
Dave Kreskowiak27-May-04 4:01
mveDave Kreskowiak27-May-04 4:01 
GeneralRe: MeasureItem is not called for menu Pin
Member 54677527-May-04 4:08
Member 54677527-May-04 4:08 
GeneralRe: MeasureItem is not called for menu [EDITED] Pin
Dave Kreskowiak27-May-04 4:15
mveDave Kreskowiak27-May-04 4:15 
GeneralRe: MeasureItem is not called for menu [EDITED] Pin
Member 54677527-May-04 4:58
Member 54677527-May-04 4:58 
GeneralLDAP Authentication! Please Help Pin
rami2k26-May-04 22:13
rami2k26-May-04 22:13 
GeneralRe: LDAP Authentication! Please Help Pin
MrEyes27-May-04 0:34
MrEyes27-May-04 0:34 
GeneralRe: LDAP Authentication! Please Help Pin
rami2k27-May-04 5:03
rami2k27-May-04 5:03 
GeneralRe: LDAP Authentication! Please Help Pin
Dave Kreskowiak27-May-04 3:53
mveDave Kreskowiak27-May-04 3:53 

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.