c# Programming Glossary: base.createparams
Drawing a transparent button http://stackoverflow.com/questions/1086621/drawing-a-transparent-button get const int WS_EX_TRANSPARENT 0x20 CreateParams cp base.CreateParams cp.ExStyle WS_EX_TRANSPARENT return cp rest of class here.....
Show a Form without stealing focus? http://stackoverflow.com/questions/156046/show-a-form-without-stealing-focus CreateParams CreateParams get CreateParams baseParams base.CreateParams baseParams.ExStyle int Win32.ExtendedWindowStyles.WS_EX_NOACTIVATE..
How to make a window have taskbar text but no title bar http://stackoverflow.com/questions/198233/how-to-make-a-window-have-taskbar-text-but-no-title-bar CreateParams get System.Windows.Forms.CreateParams cp base.CreateParams cp.Style ~0x00C00000 WS_CAPTION return cp However this causes..
Drop shadow in Winforms Controls? http://stackoverflow.com/questions/2463519/drop-shadow-in-winforms-controls drawing a drop shadow around the form CreateParams cp base.CreateParams cp.ClassStyle CS_DROPSHADOW return cp share improve this answer..
How to fix the flickering in User controls http://stackoverflow.com/questions/2612487/how-to-fix-the-flickering-in-user-controls override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x02000000 Turn on WS_EX_COMPOSITED return cp There.. protected override CreateParams CreateParams get var parms base.CreateParams parms.Style ~0x02000000 Turn off WS_CLIPCHILDREN return parms..
C# - Sending keyboard events to (last) selected window http://stackoverflow.com/questions/2795558/c-sharp-sending-keyboard-events-to-last-selected-window override CreateParams CreateParams get CreateParams param base.CreateParams param.ExStyle WS_EX_NOACTIVATE return param private void button1_Click..
Drawing on top of controls inside a panel (C# WinForms) http://stackoverflow.com/questions/282838/drawing-on-top-of-controls-inside-a-panel-c-winforms override CreateParams CreateParams get CreateParams cp cp base.CreateParams cp.Style ~0x04000000 WS_CLIPSIBLINGS cp.Style ~0x02000000 WS_CLIPCHILDREN.. override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x00000020 WS_EX_TRANSPARENT return cp The problem..
Flickering in a Windows Forms app http://stackoverflow.com/questions/3286373/flickering-in-a-windows-forms-app override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x02000000 WS_EX_COMPOSITED return cp This worked..
How to create a C# Winforms Control that hovers http://stackoverflow.com/questions/353561/how-to-create-a-c-sharp-winforms-control-that-hovers override CreateParams CreateParams get CreateParams cp base.CreateParams if mParent null DesignMode cp.Style int long cp.Style 0xffff..
Winforms Double Buffering http://stackoverflow.com/questions/3718380/winforms-double-buffering override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x02000000 Turn on WS_EX_COMPOSITED return cp It..
Transparent images with C# WinForms http://stackoverflow.com/questions/395256/transparent-images-with-c-sharp-winforms override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x20 return cp protected override void OnMove EventArgs..
How can I prevent a user from closing my C# application? http://stackoverflow.com/questions/4655810/how-can-i-prevent-a-user-from-closing-my-c-sharp-application get const int CS_NOCLOSE 0x200 CreateParams cp base.CreateParams cp.ClassStyle CS_NOCLOSE return cp Compile and run. You'll get..
How to create a transparent control which works when on top of other controls? http://stackoverflow.com/questions/592538/how-to-create-a-transparent-control-which-works-when-on-top-of-other-controls override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x20 WS_EX_TRANSPARENT return cp The problem here..
Windows Forms: How to hide Close (x) button? http://stackoverflow.com/questions/7301825/windows-forms-how-to-hide-close-x-button override CreateParams CreateParams get CreateParams myCp base.CreateParams myCp.ClassStyle myCp.ClassStyle CP_NOCLOSE_BUTTON return myCp..
Transparent Control on Transparent control? http://stackoverflow.com/questions/7874134/transparent-control-on-transparent-control CreateParams CreateParams get CreateParams createParams base.CreateParams createParams.ExStyle 0x00000020 WS_EX_TRANSPARENT return createParams.. CreateParams CreateParams get CreateParams createParams base.CreateParams createParams.ExStyle 0x00000020 WS_EX_TRANSPARENT return createParams.. override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x20 return cp You will need to set Image property...
How to make a PictureBox truly transparent http://stackoverflow.com/questions/8688295/how-to-make-a-picturebox-truly-transparent override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle 0x00000020 WS_EX_TRANSPARENT return cp Finally overriding..
Winforms: Making a control transparent http://stackoverflow.com/questions/9358500/winforms-making-a-control-transparent override CreateParams CreateParams get CreateParams cp base.CreateParams cp.ExStyle cp.ExStyle 0x20 return cp protected override..
|