Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
GeneralRe: RE: Web Service Startup Pin
Heath Stewart28-Apr-04 11:19
protectorHeath Stewart28-Apr-04 11:19 
GeneralRe: RE: Web Service Startup Pin
je_gonzalez28-Apr-04 11:03
je_gonzalez28-Apr-04 11:03 
GeneralRe: RE: Web Service Startup Pin
mjmcinto28-Apr-04 11:25
mjmcinto28-Apr-04 11:25 
GeneralRe: RE: Web Service Startup Pin
mjmcinto29-Apr-04 4:00
mjmcinto29-Apr-04 4:00 
QuestionHow can I change (Windows form) ListView item height? Pin
Arnaud Bui28-Apr-04 7:09
Arnaud Bui28-Apr-04 7:09 
AnswerRe: How can I change (Windows form) ListView item height? Pin
Heath Stewart28-Apr-04 8:25
protectorHeath Stewart28-Apr-04 8:25 
GeneralQuestion on TabControl and context menu Pin
Flack28-Apr-04 6:57
Flack28-Apr-04 6:57 
GeneralRe: Question on TabControl and context menu Pin
Heath Stewart28-Apr-04 8:17
protectorHeath Stewart28-Apr-04 8:17 
You could iterate through your TabControl.TabPages collection property and use the TabControl.GetTabRect to get the bounds of each tab (till you find a match). Use Rectangle.Contains (calling it on the Rectangle returned from GetTabRect to see if the mouse coordinates in the MouseDown event handler are over the specified tab. This will give you the tab that was clicked. You can then use ContextMenu.Show to show a ContextMenu at those coordinates. Show also tracks the ContextMenu so it continues to display until clicked.

 

Microsoft MVP, Visual C#
My Articles
Generallive video Pin
Anonymous28-Apr-04 6:46
Anonymous28-Apr-04 6:46 
GeneralRe: live video Pin
Heath Stewart28-Apr-04 8:14
protectorHeath Stewart28-Apr-04 8:14 
GeneralRe: live video Pin
Anonymous29-May-04 8:16
Anonymous29-May-04 8:16 
Generalremoting : singleton vs singlecall Pin
Anonymous28-Apr-04 5:57
Anonymous28-Apr-04 5:57 
GeneralRe: remoting : singleton vs singlecall Pin
Heath Stewart28-Apr-04 6:27
protectorHeath Stewart28-Apr-04 6:27 
Questionhow do i loop controls on webpage Pin
robmays28-Apr-04 5:25
robmays28-Apr-04 5:25 
AnswerRe: how do i loop controls on webpage Pin
Heath Stewart28-Apr-04 6:25
protectorHeath Stewart28-Apr-04 6:25 
GeneralRe: how do i loop controls on webpage Pin
robmays28-Apr-04 8:15
robmays28-Apr-04 8:15 
GeneralSplitted forms and selection Pin
Gian28-Apr-04 5:17
Gian28-Apr-04 5:17 
GeneralRe: Splitted forms and selection Pin
Heath Stewart28-Apr-04 6:24
protectorHeath Stewart28-Apr-04 6:24 
GeneralListView with sub-lists Pin
Jon G28-Apr-04 4:54
Jon G28-Apr-04 4:54 
GeneralRe: ListView with sub-lists Pin
Dave Kreskowiak28-Apr-04 5:17
mveDave Kreskowiak28-Apr-04 5:17 
GeneralRe: ListView with sub-lists Pin
Jon G28-Apr-04 5:26
Jon G28-Apr-04 5:26 
GeneralRe: ListView with sub-lists Pin
RNEELY28-Apr-04 6:15
RNEELY28-Apr-04 6:15 
GeneralRe: ListView with sub-lists Pin
Heath Stewart28-Apr-04 6:20
protectorHeath Stewart28-Apr-04 6:20 
GeneralRe: ListView with sub-lists Pin
Heath Stewart28-Apr-04 6:23
protectorHeath Stewart28-Apr-04 6:23 
GeneralRe: ListView with sub-lists Pin
Jon G28-Apr-04 6:31
Jon G28-Apr-04 6:31 

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.