Click here to Skip to main content
15,918,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralData Grid Pin
GrindAZ23-May-03 13:50
GrindAZ23-May-03 13:50 
GeneralRe: Data Grid Pin
Nick Seng25-May-03 17:21
Nick Seng25-May-03 17:21 
GeneralDebugging Programs problems Pin
envoy23-May-03 12:24
envoy23-May-03 12:24 
GeneralRe: Debugging Programs problems Pin
Nick Seng25-May-03 17:05
Nick Seng25-May-03 17:05 
Generalproblem of frequent process Pin
Anand_Thakur22-May-03 21:18
Anand_Thakur22-May-03 21:18 
GeneralRe: problem of frequent process Pin
Hesham Amin30-May-03 4:23
Hesham Amin30-May-03 4:23 
GeneralInternet explorer style user interface Pin
Anand_Thakur22-May-03 21:09
Anand_Thakur22-May-03 21:09 
GeneralRe: Internet explorer style user interface Pin
mikasa23-May-03 3:04
mikasa23-May-03 3:04 
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

GeneralUser interface like frames on a web page Pin
Brent Lamborn22-May-03 19:01
Brent Lamborn22-May-03 19:01 
GeneralRe: User interface like frames on a web page Pin
J. Dunlap22-May-03 20:11
J. Dunlap22-May-03 20:11 
GeneralRe: User interface like frames on a web page Pin
FruitBatInShades23-May-03 0:13
FruitBatInShades23-May-03 0:13 
GeneralRe: User interface like frames on a web page Pin
Anonymous23-May-03 9:21
Anonymous23-May-03 9:21 
GeneralAttach Calendar in a Text box (VB6) Pin
EMMY22-May-03 18:50
EMMY22-May-03 18:50 
GeneralRe: Attach Calendar in a Text box (VB6) Pin
J. Dunlap22-May-03 20:12
J. Dunlap22-May-03 20:12 
GeneralRe: Attach Calendar in a Text box (VB6) Pin
EMMY25-May-03 19:58
EMMY25-May-03 19:58 
GeneralHelp: DirectSound question Pin
anonomouswilliams22-May-03 18:22
sussanonomouswilliams22-May-03 18:22 
GeneralHelp with IntPtr Pin
anonomous22-May-03 10:00
anonomous22-May-03 10:00 
GeneralRe: Help with IntPtr Pin
pradipta22-May-03 20:17
pradipta22-May-03 20:17 
QuestionToolbar Icons? Pin
GrindAZ22-May-03 7:45
GrindAZ22-May-03 7:45 
AnswerRe: Toolbar Icons? Pin
FruitBatInShades23-May-03 0:14
FruitBatInShades23-May-03 0:14 
GeneralDetecting Windows Events Pin
GrindAZ22-May-03 6:11
GrindAZ22-May-03 6:11 
GeneralRe: Detecting Windows Events Pin
John Kuhn22-May-03 7:58
John Kuhn22-May-03 7:58 
GeneralLoops HELP Pin
bamnet22-May-03 5:26
bamnet22-May-03 5:26 
GeneralRe: Loops HELP Pin
John Kuhn22-May-03 7:25
John Kuhn22-May-03 7:25 
GeneralRunning one Instance of EXE Pin
pradipta22-May-03 3:03
pradipta22-May-03 3:03 

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.