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

C#

 
GeneralRe: Serial Port Pin
OriginalGriff12-Mar-10 1:46
mveOriginalGriff12-Mar-10 1:46 
AnswerRe: Serial Port Pin
DotNetCoderJunior12-Mar-10 2:08
DotNetCoderJunior12-Mar-10 2:08 
AnswerRe: Serial Port Pin
Luc Pattyn12-Mar-10 2:51
sitebuilderLuc Pattyn12-Mar-10 2:51 
AnswerRe: Serial Port Pin
PIEBALDconsult12-Mar-10 3:45
mvePIEBALDconsult12-Mar-10 3:45 
GeneralRe: Serial Port Pin
Deepak.Prahlad14-Mar-10 17:59
Deepak.Prahlad14-Mar-10 17:59 
QuestionMouseEnter and MouseLeave not working if Enabled=false Pin
stancrm11-Mar-10 22:01
stancrm11-Mar-10 22:01 
AnswerRe: MouseEnter and MouseLeave not working if Enabled=false Pin
#realJSOP12-Mar-10 1:48
mve#realJSOP12-Mar-10 1:48 
AnswerRe: MouseEnter and MouseLeave not working if Enabled=false Pin
Dave Kreskowiak12-Mar-10 3:42
mveDave Kreskowiak12-Mar-10 3:42 
If the control is disabled, none of those events fire. Like John said, you'd have to implement your own button class to support this. You'd be creating a button that never really disables. You'd keep track of the Enabled state as in a normal button, and keep certain events running while "disabling" others, like Click DoubleClick, MouseDown, MouseUp, ..., if the control is disabled. You'd also have to custom paint the button to show that it is "disabled" or not.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: MouseEnter and MouseLeave not working if Enabled=false [modified] Pin
#realJSOP12-Mar-10 5:41
mve#realJSOP12-Mar-10 5:41 
GeneralRe: MouseEnter and MouseLeave not working if Enabled=false Pin
Dave Kreskowiak12-Mar-10 7:04
mveDave Kreskowiak12-Mar-10 7:04 
GeneralRe: MouseEnter and MouseLeave not working if Enabled=false Pin
#realJSOP12-Mar-10 12:03
mve#realJSOP12-Mar-10 12:03 
GeneralRe: MouseEnter and MouseLeave not working if Enabled=false Pin
Dave Kreskowiak12-Mar-10 12:15
mveDave Kreskowiak12-Mar-10 12:15 
AnswerRe: MouseEnter and MouseLeave not working if Enabled=false Pin
The Man from U.N.C.L.E.12-Mar-10 8:25
The Man from U.N.C.L.E.12-Mar-10 8:25 
Questionmultiple textbox text save in one field Pin
mjawadkhatri11-Mar-10 19:41
mjawadkhatri11-Mar-10 19:41 
QuestionRe: multiple textbox text save in one field Pin
Calla11-Mar-10 20:20
Calla11-Mar-10 20:20 
AnswerRe: multiple textbox text save in one field Pin
mjawadkhatri11-Mar-10 20:34
mjawadkhatri11-Mar-10 20:34 
GeneralRe: multiple textbox text save in one field Pin
Calla11-Mar-10 20:40
Calla11-Mar-10 20:40 
GeneralRe: multiple textbox text save in one field Pin
mjawadkhatri11-Mar-10 20:46
mjawadkhatri11-Mar-10 20:46 
GeneralRe: multiple textbox text save in one field Pin
Calla11-Mar-10 20:55
Calla11-Mar-10 20:55 
GeneralRe: multiple textbox text save in one field Pin
mjawadkhatri11-Mar-10 23:16
mjawadkhatri11-Mar-10 23:16 
GeneralRe: multiple textbox text save in one field [modified] Pin
Calla12-Mar-10 0:53
Calla12-Mar-10 0:53 
GeneralRe: multiple textbox text save in one field Pin
mjawadkhatri12-Mar-10 1:01
mjawadkhatri12-Mar-10 1:01 
GeneralRe: multiple textbox text save in one field Pin
Calla12-Mar-10 1:30
Calla12-Mar-10 1:30 
QuestionNetwork licence Pin
viciouskinid11-Mar-10 18:39
viciouskinid11-Mar-10 18:39 
AnswerRe: Network licence Pin
Luc Pattyn11-Mar-10 19:00
sitebuilderLuc Pattyn11-Mar-10 19:00 

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.