Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to add any control (ex: button,ComboBox,Slider Control, Radio Button etc... ) in the Non Client Area a form in C#

How to add any control (ex: button,ComboBox,Slider Control, Radio Button etc... ) in the Non Client Area a form in C#

Scheduled Pinned Locked Moved C#
csharptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CodeVarma
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • C CodeVarma

      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

      J Offline
      J Offline
      Jondo24shoots
      wrote on last edited by
      #2

      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

      OriginalGriffO 1 Reply Last reply
      0
      • J Jondo24shoots

        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

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        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

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups