Click here to Skip to main content
15,918,967 members
Home / Discussions / C#
   

C#

 
AnswerRe: Tooltip on disabled controls? Pin
Shajeel27-Feb-07 18:40
Shajeel27-Feb-07 18:40 
GeneralRe: Tooltip on disabled controls? Pin
Nilesh K.27-Feb-07 18:50
Nilesh K.27-Feb-07 18:50 
GeneralRe: Tooltip on disabled controls? Pin
Harini N K27-Feb-07 18:56
Harini N K27-Feb-07 18:56 
GeneralRe: Tooltip on disabled controls? Pin
Shajeel27-Feb-07 19:13
Shajeel27-Feb-07 19:13 
GeneralRe: Tooltip on disabled controls? Pin
Nilesh K.27-Feb-07 20:10
Nilesh K.27-Feb-07 20:10 
GeneralRe: Tooltip on disabled controls? Pin
mike montagne27-Feb-07 20:12
mike montagne27-Feb-07 20:12 
GeneralRe: Tooltip on disabled controls? Pin
Nilesh K.27-Feb-07 20:22
Nilesh K.27-Feb-07 20:22 
GeneralRe: Tooltip on disabled controls? Pin
mike montagne28-Feb-07 5:41
mike montagne28-Feb-07 5:41 
I really can't tell you that, but it's a good question, particularly as the disabled state itself could be an obstruction. I mean of course, that whenever someone discovers such a workaround, there's a good chance they walked down a few difficult dead ends (as successfully as possible) to find it -- so it's a good idea to ask in case someone might have the pattern handy. If so, it might be a long shot that such a person might see your post.

Still, I think I'd lean away from this. Your post in fact first gave me the idea I might try a workaround to provide an additional capacity in a control I'm working on, but then I thought no, it's not often (if ever possibly) very logical to provide tooltips to disabled controls... so (for me at least, as far as I can see), I decided to accept the default functionality, particularly considering how much effort and resource overhead might be wasted to deliver the behavior you are asking for.

That said, if you want pointed in the initial directions that strike me, what you might try that might not increase resource reliance too disproportionately, is detecting the parent of your control and setting the region of your control on the parent to take a mouse hit test, sampling the mouse state to raise your own hint possibly from the parent. That even may be too wild an idea or technically challenging a project.
GeneralRe: Tooltip on disabled controls? Pin
Nilesh K.28-Feb-07 16:01
Nilesh K.28-Feb-07 16:01 
GeneralRe: Tooltip on disabled controls? Pin
mike montagne28-Feb-07 17:53
mike montagne28-Feb-07 17:53 
QuestionCreating Help file (chm ) Pin
Praveen_S27-Feb-07 17:16
Praveen_S27-Feb-07 17:16 
AnswerRe: Creating Help file (chm ) Pin
Vasudevan Deepak Kumar27-Feb-07 17:29
Vasudevan Deepak Kumar27-Feb-07 17:29 
QuestionUserControl Pin
fjlv200527-Feb-07 16:44
fjlv200527-Feb-07 16:44 
QuestionConverting strings to other data types Pin
Leo Smith27-Feb-07 14:10
Leo Smith27-Feb-07 14:10 
AnswerRe: Converting strings to other data types Pin
Christian Graus27-Feb-07 15:13
protectorChristian Graus27-Feb-07 15:13 
GeneralRe: Converting strings to other data types Pin
Leo Smith27-Feb-07 15:41
Leo Smith27-Feb-07 15:41 
QuestionWindows Status Bar / System Tray Pin
Rabbit1727-Feb-07 13:55
Rabbit1727-Feb-07 13:55 
QuestionWindows Service and Directory.Exists() Pin
Christopher Stratmann27-Feb-07 13:54
Christopher Stratmann27-Feb-07 13:54 
AnswerRe: Windows Service and Directory.Exists() Pin
Vasudevan Deepak Kumar27-Feb-07 17:32
Vasudevan Deepak Kumar27-Feb-07 17:32 
GeneralRe: Windows Service and Directory.Exists() Pin
Christopher Stratmann28-Feb-07 0:47
Christopher Stratmann28-Feb-07 0:47 
AnswerRe: enumerator woes Pin
mike montagne27-Feb-07 14:04
mike montagne27-Feb-07 14:04 
GeneralRe: enumerator woes Pin
Glen Harvy27-Feb-07 14:22
Glen Harvy27-Feb-07 14:22 
GeneralRe: enumerator woes Pin
mike montagne27-Feb-07 14:29
mike montagne27-Feb-07 14:29 
GeneralRe: enumerator woes Pin
Glen Harvy27-Feb-07 15:16
Glen Harvy27-Feb-07 15:16 
QuestionSimple Open File With... Question Pin
cmarcus27-Feb-07 13:14
cmarcus27-Feb-07 13:14 

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.