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. Visual Basic
  4. Internet explorer style user interface

Internet explorer style user interface

Scheduled Pinned Locked Moved Visual Basic
designdata-structures
2 Posts 2 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.
  • A Offline
    A Offline
    Anand_Thakur
    wrote on last edited by
    #1

    Explorer Style can we made a tree view or list view or any other control with style like title bar with close button...just like a outlook exp. or windows expl or internet exlorer's left hand panels....in these applications..we can close the tree view by CLOSE button...and make appear by menu.. i want to made same treeBox... anand... __________________

    M 1 Reply Last reply
    0
    • A Anand_Thakur

      Explorer Style can we made a tree view or list view or any other control with style like title bar with close button...just like a outlook exp. or windows expl or internet exlorer's left hand panels....in these applications..we can close the tree view by CLOSE button...and make appear by menu.. i want to made same treeBox... anand... __________________

      M Offline
      M Offline
      mikasa
      wrote on last edited by
      #2

      Make a custom control that contains a TreeView, leaving room at the Top to draw your own Button control. If you want to detect whether the button was Clicked, do it one of two ways: 1.) Determine if the MouseDown position falls within the Bounds of where you drew the Close Button. Use the code below to draw the button. 2.) Create a very simple separate control called "CloseButton" and all it does on the "OnPaint" event is the following code:

      Dim g As Graphics = Me.CreateGraphics
      ControlPaint.DrawCaptionButton(g, New Rectangle(50, 50, 50, 50), CaptionButton.Close, ButtonState.Flat)
      g.Dispose() : g = Nothing

      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