Click here to Skip to main content
15,907,281 members
Home / Discussions / C#
   

C#

 
QuestionRe: handlers or 4 sided handles Pin
Krazy Programmer19-Mar-08 7:39
Krazy Programmer19-Mar-08 7:39 
GeneralRe: handlers or 4 sided handles Pin
netJP12L19-Mar-08 8:37
netJP12L19-Mar-08 8:37 
GeneralDateTime.AddDays(1) Issue Pin
Harvey Saayman19-Mar-08 6:10
Harvey Saayman19-Mar-08 6:10 
GeneralRe: DateTime.AddDays(1) Issue Pin
J4amieC19-Mar-08 6:22
J4amieC19-Mar-08 6:22 
GeneralRe: DateTime.AddDays(1) Issue Pin
Harvey Saayman19-Mar-08 6:27
Harvey Saayman19-Mar-08 6:27 
GeneralRe: DateTime.AddDays(1) Issue Pin
phannon8619-Mar-08 6:48
professionalphannon8619-Mar-08 6:48 
GeneralRe: DateTime.AddDays(1) Issue Pin
Harvey Saayman19-Mar-08 6:56
Harvey Saayman19-Mar-08 6:56 
QuestionStatusStrip don't process mouse clicks if parent window is inactive. Pin
Patric_J19-Mar-08 5:24
Patric_J19-Mar-08 5:24 
StatusStrip don't process mouse clicks if parent window is inactive.

I have an application with two winforms, one which has a StatusStrip object. The StatusStrip object has a couple of buttons with mouse click handlers hooked up.

If the window with the status strip is the active window, the mouse click handler get called when user clicks on a button on the status strip.

If the window with the status strip is not the active window, it takes two click on a status bar button to get the mouse click handler called. The first click only activates the window and do not result in a call to the click event handler.

Anyone knows how to fix this? How to get a status strip to fire events even if it is in a nonactive window so user don't have to click twice?

/Patric
My C# blog: C# Coach

GeneralVS 2005: 'Data' menu keeps disappearing! [modified] Pin
packmichael19-Mar-08 5:10
packmichael19-Mar-08 5:10 
GeneralRe: VS 2005: 'Data' menu keeps disappearing! Pin
Not Active19-Mar-08 5:27
mentorNot Active19-Mar-08 5:27 
GeneralRe: VS 2005: 'Data' menu keeps disappearing! Pin
packmichael19-Mar-08 6:32
packmichael19-Mar-08 6:32 
Questionhow to disable arrow key on grid to fire any event. Pin
amit_8319-Mar-08 4:46
amit_8319-Mar-08 4:46 
Question[Message Deleted] Pin
hatemtaleb19-Mar-08 4:23
hatemtaleb19-Mar-08 4:23 
Generalcross post (ignore) Pin
led mike19-Mar-08 4:48
led mike19-Mar-08 4:48 
GeneralConfused by events Pin
Taurian11019-Mar-08 3:48
Taurian11019-Mar-08 3:48 
GeneralRe: Confused by events Pin
Not Active19-Mar-08 3:55
mentorNot Active19-Mar-08 3:55 
GeneralRe: Confused by events Pin
Taurian11019-Mar-08 5:00
Taurian11019-Mar-08 5:00 
GeneralRe: Confused by events Pin
Not Active19-Mar-08 5:26
mentorNot Active19-Mar-08 5:26 
GeneralConstructor of Structs. Pin
SPanicker*19-Mar-08 3:45
SPanicker*19-Mar-08 3:45 
GeneralRe: Constructor of Structs. Pin
Ennis Ray Lynch, Jr.19-Mar-08 3:49
Ennis Ray Lynch, Jr.19-Mar-08 3:49 
GeneralRe: Constructor of Structs. Pin
SPanicker*19-Mar-08 3:56
SPanicker*19-Mar-08 3:56 
GeneralRe: Constructor of Structs. Pin
Ennis Ray Lynch, Jr.19-Mar-08 4:01
Ennis Ray Lynch, Jr.19-Mar-08 4:01 
GeneralRe: Constructor of Structs. Pin
SPanicker*19-Mar-08 4:17
SPanicker*19-Mar-08 4:17 
GeneralRe: Constructor of Structs. Pin
PIEBALDconsult19-Mar-08 16:11
mvePIEBALDconsult19-Mar-08 16:11 
GeneralRe: Constructor of Structs. Pin
SPanicker*19-Mar-08 20:07
SPanicker*19-Mar-08 20:07 

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.