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

C#

 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 14:52
Brian_TheLion29-May-19 14:52 
QuestionWinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru28-May-19 4:46
Ken Guru28-May-19 4:46 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Eddy Vluggen28-May-19 5:42
professionalEddy Vluggen28-May-19 5:42 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru28-May-19 22:00
Ken Guru28-May-19 22:00 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Eddy Vluggen28-May-19 23:30
professionalEddy Vluggen28-May-19 23:30 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru29-May-19 4:24
Ken Guru29-May-19 4:24 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
BillWoodruff28-May-19 15:52
professionalBillWoodruff28-May-19 15:52 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru28-May-19 21:54
Ken Guru28-May-19 21:54 
Hi Bill,

"
If you are showing a WinForm with 'WindowState = FormWindowState.Maximized, it will fill the screen completely, covering any TaskBars that are not hidden.
"

I've solved this problem already with

private void frmMain_Load(object sender, EventArgs e)
{
   MaximizedBounds = Screen.FromHandle(Handle).WorkingArea;
   WindowState = FormWindowState.Maximized;
}


But: My application doesn't receive any event, that informs about the movement of the TaskBar. If i set FormBorderStyle.Sizeable everything is OK.

Do you have experience with interop in C# using the Shell ... i.e., using WndProc, using P/Invokes ?


Yes, i have.

Greetings
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
BillWoodruff29-May-19 3:17
professionalBillWoodruff29-May-19 3:17 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Gerry Schmitz29-May-19 3:47
mveGerry Schmitz29-May-19 3:47 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru29-May-19 4:28
Ken Guru29-May-19 4:28 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
BillWoodruff29-May-19 7:12
professionalBillWoodruff29-May-19 7:12 
QuestionC# using class library how to get download pdf link in mail Pin
Member 1447263827-May-19 20:28
Member 1447263827-May-19 20:28 
AnswerRe: C# using class library how to get download pdf link in mail Pin
OriginalGriff27-May-19 20:30
mveOriginalGriff27-May-19 20:30 
AnswerRe: C# using class library how to get download pdf link in mail Pin
Dave Kreskowiak28-May-19 4:35
mveDave Kreskowiak28-May-19 4:35 
QuestionC# 8's 'switch syntax gives me the willies Pin
BillWoodruff27-May-19 0:57
professionalBillWoodruff27-May-19 0:57 
AnswerRe: C# 8's 'switch syntax gives me the willies Pin
OriginalGriff27-May-19 1:56
mveOriginalGriff27-May-19 1:56 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
BillWoodruff27-May-19 2:25
professionalBillWoodruff27-May-19 2:25 
AnswerRe: C# 8's 'switch syntax gives me the willies Pin
#realJSOP27-May-19 7:28
mve#realJSOP27-May-19 7:28 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
OriginalGriff27-May-19 8:05
mveOriginalGriff27-May-19 8:05 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
#realJSOP27-May-19 9:18
mve#realJSOP27-May-19 9:18 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
Eddy Vluggen27-May-19 10:04
professionalEddy Vluggen27-May-19 10:04 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
OriginalGriff27-May-19 19:57
mveOriginalGriff27-May-19 19:57 
GeneralRe: C# 8's 'switch syntax gives me the willies Pin
Eddy Vluggen28-May-19 11:15
professionalEddy Vluggen28-May-19 11:15 
QuestionHow to get the Count of webseit visitors using Razor ASP.Core ? Pin
Abdalla Ben Omran26-May-19 23:43
Abdalla Ben Omran26-May-19 23:43 

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.