Click here to Skip to main content
16,004,901 members
Home / Discussions / C#
   

C#

 
Questionproblem Pin
pankajgarg1211-Apr-06 20:32
pankajgarg1211-Apr-06 20:32 
AnswerRe: problem Pin
alexey N11-Apr-06 20:36
alexey N11-Apr-06 20:36 
GeneralRe: problem Pin
Guffa11-Apr-06 23:03
Guffa11-Apr-06 23:03 
Questionidea of a very special 'Menuitem' Pin
nuessler11-Apr-06 20:16
nuessler11-Apr-06 20:16 
AnswerRe: idea of a very special 'Menuitem' Pin
alexey N11-Apr-06 20:26
alexey N11-Apr-06 20:26 
GeneralRe: idea of a very special 'Menuitem' Pin
nuessler11-Apr-06 21:34
nuessler11-Apr-06 21:34 
GeneralRe: idea of a very special 'Menuitem' Pin
alexey N11-Apr-06 22:42
alexey N11-Apr-06 22:42 
AnswerRe: idea of a very special 'Menuitem' Pin
deanofharvard12-Apr-06 9:32
deanofharvard12-Apr-06 9:32 
Hehe... Sounds like a very interesting problem...

I've done some stuff that's kinda similar, but means overriding the OnPaint method... You could always dynamically position your control according to the MouseClick event...

On_MouseClick(object sender, MouseEventArgs e){
if(e.MouseButton == MouseKeys.Right){
HoverControl control = new HoverControl();
control.Location = new Point(e.Point);
control.Show();
}
}

(Just typed that by hand... It's close, but capitalization and names might be off...)

Handle the closing of the control in the control. If you're working with a grid, you could use the object you've got in the selected row of the grid, and if no item selected, don't show the control.

Hope this helps...

F~
QuestionStar Application with Windows Pin
hung_ngole11-Apr-06 18:13
hung_ngole11-Apr-06 18:13 
AnswerRe: Star Application with Windows Pin
alexey N11-Apr-06 18:23
alexey N11-Apr-06 18:23 
Questionhello all i need help Pin
zidan91111-Apr-06 17:46
zidan91111-Apr-06 17:46 
AnswerRe: hello all i need help Pin
chakkara200311-Apr-06 18:11
chakkara200311-Apr-06 18:11 
AnswerRe: hello all i need help Pin
CWIZO11-Apr-06 19:43
CWIZO11-Apr-06 19:43 
GeneralRe: hello all i need help Pin
Bassam Saoud11-Apr-06 19:52
Bassam Saoud11-Apr-06 19:52 
AnswerRe: hello all i need help Pin
HimaBindu Vejella11-Apr-06 19:52
HimaBindu Vejella11-Apr-06 19:52 
AnswerRe: hello all i need help Pin
albCode11-Apr-06 20:45
albCode11-Apr-06 20:45 
QuestionUpdating ListView with Thread (+ extra thread questions) Pin
Skoder11-Apr-06 16:10
Skoder11-Apr-06 16:10 
AnswerRe: Updating ListView with Thread (+ extra thread questions) Pin
S. Senthil Kumar11-Apr-06 17:46
S. Senthil Kumar11-Apr-06 17:46 
QuestionHow to make a copy of a binary file without using Copy function? Pin
tranthuyen11-Apr-06 16:10
tranthuyen11-Apr-06 16:10 
AnswerRe: How to make a copy of a binary file without using Copy function? Pin
Christian Graus11-Apr-06 16:56
protectorChristian Graus11-Apr-06 16:56 
GeneralRe: How to make a copy of a binary file without using Copy function? Pin
mav.northwind11-Apr-06 23:37
mav.northwind11-Apr-06 23:37 
AnswerRe: How to make a copy of a binary file without using Copy function? Pin
alexey N11-Apr-06 18:28
alexey N11-Apr-06 18:28 
AnswerRe: How to make a copy of a binary file without using Copy function? Pin
mav.northwind11-Apr-06 23:35
mav.northwind11-Apr-06 23:35 
QuestionHow to ftp upload a .zip (binary) file? Pin
tranthuyen11-Apr-06 16:07
tranthuyen11-Apr-06 16:07 
QuestionHow to use Flash with C# Pin
mm31011-Apr-06 15:36
mm31011-Apr-06 15:36 

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.