Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
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
delphix510-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
Abhinav 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
delphix510-Dec-13 5:16 
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
delphix510-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 
You'd need to dive into the WinAPI; getting access to a window (on a low level, everything, including textboxes and buttons, are windows) using it's handle. You'd not be able to map a TButton (from a Delphi App) to a .NET Button, but you should be able to get the dimensions of the window. That is, assuming that it is based on a window.

See, there was a time when these things were expensive and Windows would run out of handles. The easiest solution to lower the amount of windows used in an application was to get rid of the labels and to draw them by hand. You'll find that there's a lot of older apps (and newer games!) that don't use the common control-library at all. If I draw a fake button on a panel and handle a mouse-click on that location as if it were a button, you'd see a button as a user, but would never find one on the form.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

AnswerRe: How I can find selected control on any window from mouse click c# Pin
BillWoodruff10-Dec-13 5:52
professionalBillWoodruff10-Dec-13 5:52 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
delphix510-Dec-13 7:03
delphix510-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
protectorMarco Bertschi9-Dec-13 22:24 
AnswerRe: List<> VS Dictionary<,> PinPopular
Pete O'Hanlon9-Dec-13 22:59
mvePete 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
professionalBillWoodruff10-Dec-13 3:23 
Questionxml in textbox for modifying Pin
Member 94738099-Dec-13 21:56
Member 94738099-Dec-13 21:56 
AnswerRe: xml in textbox for modifying Pin
Marco Bertschi9-Dec-13 22:32
protectorMarco Bertschi9-Dec-13 22:32 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 22:50
Simon_Whale9-Dec-13 22:50 
QuestionRe: xml in textbox for modifying Pin
Member 94738099-Dec-13 22:54
Member 94738099-Dec-13 22:54 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 22:57
Simon_Whale9-Dec-13 22:57 
QuestionRe: xml in textbox for modifying Pin
Member 94738099-Dec-13 23:49
Member 94738099-Dec-13 23:49 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 23:54
Simon_Whale9-Dec-13 23: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.