Questions tagged [windowstate]

70 questions
0
votes
1 answer

How Can I Minimize A Borderless Form Completely?

In my application I have my Main Form and other borderless forms that sit on top. When I minimize the main form, I want to minimize all forms, but ONLY show the main form in the taskbar. Currently what is happening is that the Main Form goes into…
Riples
  • 1,167
  • 2
  • 21
  • 54
0
votes
1 answer

C# Windows Form WindowState vs Shortcut's Run property

I have a C# Windows Form application lauching an instance of a form upon execution using the default code: [STAThread] static void Main () { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); …
STremblay
  • 125
  • 1
  • 7
0
votes
2 answers

Trigger OnResize when maximize / normal

I want to get inside here: Protected override void OnResize(EventArgs e) { } when I change WindowState to Maximize / Normal. How do I do this?
spunit
  • 523
  • 2
  • 6
  • 23
0
votes
0 answers

Window Restore event listener for swing

I have used WindowStateListener for listening window maximized event. I am sucessful on that. But when I restore the frame to its original size (the button that appears at the maximized icon when the window is maximized), the buttons get invisible.…
viper
  • 714
  • 1
  • 11
  • 26
0
votes
2 answers

Handling Infragisitcs WebDialogWindow WindowState via javascript

protected void btnSelectCommittee_Click(object sender, EventArgs e) { this.WebDialogWindow1.WindowState = Infragistics.Web.UI.LayoutControls.DialogWindowState.Normal; } By using the above code, it can change the windowState of the…
SuicideSheep
  • 5,260
  • 19
  • 64
  • 117
0
votes
1 answer

window state static window

I have a static function in my mainwindow, with a tray icon in it. I Want to call that function from my child window within that mainwindow... Because I want to give it some values to raise a textballoon. Now I got the problem that I can't raise…
keno
  • 93
  • 3
  • 11
0
votes
1 answer

When window state is maximized then the window is behind the taskbar

Possible Duplicate: Borderless application on maximize is hiding behind the task bar in Win 7 and Win 8 my windowstyle is none and I maximized the window the window is behind the task bar and I cannot see the while window properly. i tries this…
user1430430
  • 21
  • 1
  • 6
0
votes
1 answer

Can several windows be open in a MDI form with different window states at the same time?

I did a MDI Winforms application and noticed behaviour that I have a question for. If one of the forms is opened with a Maximized Window State and another form is opened with a Normal Window State, the form Window State that used to be Maximized is…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
-1
votes
1 answer

How to make a maximize and normal windowstate all in one button

I want a simple way to maximize and normal windowstate all in one button (click me for image) Method (code) c# coding - int maxornot; private void MaxButton_Click(object sender, EventArgs e) { this.WindowState =…
-1
votes
1 answer

Center horizontally and vertically ignores windowstate maximized

As I said in the title center horizontally and verticaly buttons aligns my controls in Visual Studio C# according to form size which I randomly put to see my for clearly ( 751; 469 ) to be exact, it centers the controlls according to that size but…
1 2 3 4
5