Click here to Skip to main content
14,662,527 members
Home » Discussions » C#
   

C#

 
Questionserial port data read Pin
Member 1026351912-Dec-13 0:15
MemberMember 1026351912-Dec-13 0:15 
AnswerRe: serial port data read Pin
Marco Bertschi12-Dec-13 1:22
professionalMarco Bertschi12-Dec-13 1:22 
QuestionHow to create an organizational chart in ASP with C# without api and HTML5 Pin
Member 1039478611-Dec-13 8:11
MemberMember 1039478611-Dec-13 8:11 
AnswerRe: How to create an organizational chart in ASP with C# without api and HTML5 Pin
Dave Kreskowiak11-Dec-13 11:30
mveDave Kreskowiak11-Dec-13 11:30 
AnswerRe: How to create an organizational chart in ASP with C# without api and HTML5 Pin
Richard MacCutchan11-Dec-13 21:18
mveRichard MacCutchan11-Dec-13 21:18 
QuestionHow I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 4:57
Memberdelphix510-Dec-13 4:57 
AnswerRe: How I can find selected control on any window from mouse click c# Pin
Abhinav S10-Dec-13 5:09
MemberAbhinav S10-Dec-13 5:09 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 5:16
Memberdelphix510-Dec-13 5:16 
see this
IntPtr hWnd = WindowFromPoint(Control.MousePosition);


     if (hWnd != IntPtr.Zero)
     {
         Control ctl = Control.FromHandle(hWnd);
         if (ctl != null)
             label1.Text = ctl.Name;
     }


it works inside the form I need it ouside the form to snapshot the control when mouse click.

thanks
GeneralRe: How I can find selected control on any window from mouse click c# Pin
Dave Kreskowiak10-Dec-13 5:43
mveDave Kreskowiak10-Dec-13 5:43 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 6:55
Memberdelphix510-Dec-13 6:55 
AnswerRe: How I can find selected control on any window from mouse click c# Pin
Eddy Vluggen10-Dec-13 8:06
professionalEddy Vluggen10-Dec-13 8:06 
AnswerRe: How I can find selected control on any window from mouse click c# Pin
BillWoodruff10-Dec-13 5:52
mveBillWoodruff10-Dec-13 5:52 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 7:03
Memberdelphix510-Dec-13 7:03 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
GuyThiebaut10-Dec-13 22:35
professionalGuyThiebaut10-Dec-13 22:35 
QuestionList<> VS Dictionary<,> Pin
HobbyProggy9-Dec-13 22:14
professionalHobbyProggy9-Dec-13 22:14 
AnswerRe: List<> VS Dictionary<,> Pin
Marco Bertschi9-Dec-13 22:24
professionalMarco Bertschi9-Dec-13 22:24 
AnswerRe: List<> VS Dictionary<,> Pin
Pete O'Hanlon9-Dec-13 22:59
subeditorPete O'Hanlon9-Dec-13 22:59 
GeneralRe: List<> VS Dictionary<,> Pin
HobbyProggy9-Dec-13 23:10
professionalHobbyProggy9-Dec-13 23:10 
GeneralRe: List<> VS Dictionary<,> Pin
Keith Barrow10-Dec-13 2:07
professionalKeith Barrow10-Dec-13 2:07 
GeneralRe: List<> VS Dictionary<,> Pin
Ravi Bhavnani12-Dec-13 9:37
professionalRavi Bhavnani12-Dec-13 9:37 
AnswerRe: List<> VS Dictionary<,> Pin
BillWoodruff10-Dec-13 3:23
mveBillWoodruff10-Dec-13 3:23 
Questionxml in textbox for modifying Pin
Member 94738099-Dec-13 21:56
MemberMember 94738099-Dec-13 21:56 
AnswerRe: xml in textbox for modifying Pin
Marco Bertschi9-Dec-13 22:32
professionalMarco Bertschi9-Dec-13 22:32 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 22:50
professionalSimon_Whale9-Dec-13 22:50 
QuestionRe: xml in textbox for modifying Pin
Member 94738099-Dec-13 22:54
MemberMember 94738099-Dec-13 22:54 

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.