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

C#

 
QuestionHandling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
WebMaster2-Oct-09 4:58
WebMaster2-Oct-09 4:58 
AnswerRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
Saksida Bojan2-Oct-09 5:30
Saksida Bojan2-Oct-09 5:30 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
WebMaster2-Oct-09 5:45
WebMaster2-Oct-09 5:45 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
Saksida Bojan2-Oct-09 6:28
Saksida Bojan2-Oct-09 6:28 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
WebMaster2-Oct-09 6:46
WebMaster2-Oct-09 6:46 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
Saksida Bojan2-Oct-09 7:06
Saksida Bojan2-Oct-09 7:06 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
WebMaster2-Oct-09 20:59
WebMaster2-Oct-09 20:59 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
Saksida Bojan2-Oct-09 22:19
Saksida Bojan2-Oct-09 22:19 
protected override void WndProc(ref Message m)<br />
{<br />
if (m.Msg == 36) // This code is for WM_GETMINMAXINFO<br />
{<br />
// Do Something<br />
}<br />
base.WndProc(ref m);<br />
}


this is from sdk:
The WM_GETMINMAXINFO message is sent to a window when the size or position of the window is about to change. An application can use this message to override the window's default maximized size and position, or its default minimum or maximum tracking size.

A window receives this message through its WindowProc function.

You can also look into events as ResizeBegin and Move. Althou when i have overriden WndProc, my Form didn't open

Why it didn't help. I have tested and my taskbar wasn't hidden.
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
WebMaster3-Oct-09 1:01
WebMaster3-Oct-09 1:01 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
Saksida Bojan3-Oct-09 1:49
Saksida Bojan3-Oct-09 1:49 
GeneralRe: Handling WM_GETMINMAXINFO to prevent borderless forms overlapping taskbar when maximized Pin
WebMaster3-Oct-09 4:34
WebMaster3-Oct-09 4:34 
Questionnot able to read data from excel sheet using Microsoft.Office.Interop.Excel Pin
PrasannaKulkarni2-Oct-09 4:34
PrasannaKulkarni2-Oct-09 4:34 
AnswerRe: not able to read data from excel sheet using Microsoft.Office.Interop.Excel Pin
Dave Kreskowiak2-Oct-09 5:28
mveDave Kreskowiak2-Oct-09 5:28 
GeneralRe: not able to read data from excel sheet using Microsoft.Office.Interop.Excel Pin
PrasannaKulkarni2-Oct-09 6:19
PrasannaKulkarni2-Oct-09 6:19 
GeneralRe: not able to read data from excel sheet using Microsoft.Office.Interop.Excel Pin
Dave Kreskowiak2-Oct-09 7:05
mveDave Kreskowiak2-Oct-09 7:05 
QuestionCannot convert from system...IList<class> to class[]</class> Pin
Sevententh2-Oct-09 4:09
Sevententh2-Oct-09 4:09 
AnswerRe: Cannot convert from system...IList to class[] Pin
Keith Barrow2-Oct-09 4:19
professionalKeith Barrow2-Oct-09 4:19 
GeneralRe: Cannot convert from system...IList to class[] Pin
Sevententh5-Oct-09 23:27
Sevententh5-Oct-09 23:27 
QuestionOdd behaviour when selecting item in a Combobox [Fixed it, my fault] Pin
Anthony Mushrow2-Oct-09 4:07
professionalAnthony Mushrow2-Oct-09 4:07 
QuestionC# TCP networkstreem problem Pin
Titok Levi2-Oct-09 2:32
Titok Levi2-Oct-09 2:32 
AnswerRe: C# TCP networkstreem problem Pin
Luc Pattyn2-Oct-09 3:06
sitebuilderLuc Pattyn2-Oct-09 3:06 
AnswerRe: C# TCP networkstreem problem Pin
0x3c02-Oct-09 3:56
0x3c02-Oct-09 3:56 
AnswerRe: C# TCP networkstreem problem Pin
Tr@v2-Oct-09 16:26
Tr@v2-Oct-09 16:26 
GeneralRe: C# TCP networkstreem problem Pin
Titok Levi6-Oct-09 22:03
Titok Levi6-Oct-09 22:03 
QuestionGenerics, delegates and type inference Pin
dojohansen2-Oct-09 2:10
dojohansen2-Oct-09 2:10 

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.