How to add any control (ex: button,ComboBox,Slider Control, Radio Button etc... ) in the Non Client Area a form in C#
-
Hi i need to add any control (ex: button,ComboBox,Slider Control, Radio Button etc... ) in the Non Client Area of a form in C# could you suugest me the solution Regards Code---- Code is Gr8
what do mean by non client area? is it the code Side of the form? Cos i don't really understand what u mean by Non Client area
-
what do mean by non client area? is it the code Side of the form? Cos i don't really understand what u mean by Non Client area
The Non-Client area of a window is defined as the area you don't draw on; ie the window border, caption, menu bar and scroll bars. You can draw in it in WPF (WPF Non-Client Area Design Techniques For Custom Window Frames[^]) You can paint in the NCA by overriding WndProc and trapping WM_NCPAINT (0x85), but I can't help with getting a button in there!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones