Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: Word Applications Author Name [modified] Pin
1.21 Gigawatts5-Mar-10 21:07
1.21 Gigawatts5-Mar-10 21:07 
Questionprotected and inheritance question (i think - yes I'm kind of new) [Solved] Pin
swo.priv5-Mar-10 18:21
swo.priv5-Mar-10 18:21 
AnswerRe: protected and inheritance question (i think - yes I'm kind of new) Pin
Khaniya5-Mar-10 18:40
professionalKhaniya5-Mar-10 18:40 
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) [modified] Pin
swo.priv5-Mar-10 19:08
swo.priv5-Mar-10 19:08 
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) Pin
1.21 Gigawatts5-Mar-10 21:34
1.21 Gigawatts5-Mar-10 21:34 
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) Pin
swo.priv6-Mar-10 4:55
swo.priv6-Mar-10 4:55 
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) Pin
OriginalGriff6-Mar-10 5:22
mveOriginalGriff6-Mar-10 5:22 
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) Pin
swo.priv6-Mar-10 6:23
swo.priv6-Mar-10 6:23 
A LinkLabel can contain a string of text, broken in to several links, within a single LinkLabel control. I'm trying to get the link that is hovered, not which LinkLabel.

For example, a string could be "the quick brown fox." That could be broken in to links. "The quick" could be a link by itself, "brown" could be a second link and "fox" could be a third link. All three links can be inside the same LinkLabel. The problem is getting which link is being hovered.

This is why I'm trying to get access to the PointInLink(). The equivalent for a ListView is GetItemAt(). An example using the ListView version would be:

Point p = lv.PointToClient(new Point(Cursor.Position.X, Cursor.Position.Y));
ListViewItem lvi = lv.GetItemAt(p.X, p.Y);
// do something with lvi


What I need is the LinkLabel version of that. Another solution would be if I could get the hovered state of a link, run my links through a loop checking their states, and return the hovered one, but I cannot find a way to do that, either.
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) Pin
OriginalGriff6-Mar-10 6:45
mveOriginalGriff6-Mar-10 6:45 
GeneralRe: protected and inheritance question (i think - yes I'm kind of new) Pin
swo.priv6-Mar-10 7:24
swo.priv6-Mar-10 7:24 
QuestionMessage Removed Pin
5-Mar-10 17:11
gouthami chintala5-Mar-10 17:11 
AnswerRe: how to count the frequencycount of a word in a text file Pin
Dr.Walt Fair, PE5-Mar-10 18:06
professionalDr.Walt Fair, PE5-Mar-10 18:06 
QuestionProblems with bound list source for DataGridViewComboBoxColumn Pin
Xpnctoc5-Mar-10 12:51
Xpnctoc5-Mar-10 12:51 
AnswerRe: Problems with bound list source for DataGridViewComboBoxColumn Pin
Xpnctoc5-Mar-10 14:10
Xpnctoc5-Mar-10 14:10 
QuestionEnums, Intellisense, and switchs… Pin
Matthew Klein5-Mar-10 11:26
Matthew Klein5-Mar-10 11:26 
AnswerRe: Enums, Intellisense, and switchs…[modified] Pin
Dan Mos5-Mar-10 11:36
Dan Mos5-Mar-10 11:36 
GeneralRe: Enums, Intellisense, and switchs Pin
Matthew Klein5-Mar-10 11:55
Matthew Klein5-Mar-10 11:55 
JokeRe: Enums, Intellisense, and switchs Pin
Dan Mos5-Mar-10 11:57
Dan Mos5-Mar-10 11:57 
AnswerRe: Enums, Intellisense, and switchs… Pin
Luc Pattyn5-Mar-10 11:42
sitebuilderLuc Pattyn5-Mar-10 11:42 
AnswerRe: Enums, Intellisense, and switchs… Pin
harold aptroot5-Mar-10 11:45
harold aptroot5-Mar-10 11:45 
GeneralRe: Enums, Intellisense, and switchs… Pin
Dan Mos5-Mar-10 11:52
Dan Mos5-Mar-10 11:52 
GeneralRe: Enums, Intellisense, and switchs… Pin
harold aptroot5-Mar-10 11:55
harold aptroot5-Mar-10 11:55 
GeneralRe: Enums, Intellisense, and switchs… Pin
Dan Mos5-Mar-10 11:56
Dan Mos5-Mar-10 11:56 
GeneralRe: Enums, Intellisense, and switchs… Pin
Matthew Klein5-Mar-10 11:56
Matthew Klein5-Mar-10 11:56 
GeneralRe: Enums, Intellisense, and switchs… Pin
BryanWilkins5-Mar-10 11:58
professionalBryanWilkins5-Mar-10 11:58 

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.