Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: hourglass mouse still clicking Pin
lushgrass6-Jul-06 21:02
lushgrass6-Jul-06 21:02 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi6-Jul-06 21:22
Nader Elshehabi6-Jul-06 21:22 
GeneralRe: hourglass mouse still clicking Pin
lushgrass6-Jul-06 22:24
lushgrass6-Jul-06 22:24 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi6-Jul-06 22:58
Nader Elshehabi6-Jul-06 22:58 
GeneralRe: hourglass mouse still clicking Pin
lushgrass6-Jul-06 23:21
lushgrass6-Jul-06 23:21 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi7-Jul-06 2:46
Nader Elshehabi7-Jul-06 2:46 
GeneralRe: hourglass mouse still clicking [modified] Pin
lushgrass9-Jul-06 16:59
lushgrass9-Jul-06 16:59 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi9-Jul-06 20:49
Nader Elshehabi9-Jul-06 20:49 
Hello


lushgrass wrote:
turns out this event is only in 2.0



unfortunately that is true. Yet still the Capture property is present in the Framework 1.1 you are using. So instead of using the MouseCaptureChanged event. You may use the Control.LostFocus like this:

1- Change the event handler declaration to this:
Dummy.LostFocus += new EventHandler(Dummy_LostFocus);


2- And the event handler definition into this:
private void Dummy_LostFocus(object sender, System.EventArgs e)
{
    if(Busy)
        Dummy.Capture = true;
}


RegardsRose | [Rose]
GeneralRe: hourglass mouse still clicking Pin
lushgrass9-Jul-06 23:26
lushgrass9-Jul-06 23:26 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi9-Jul-06 23:40
Nader Elshehabi9-Jul-06 23:40 
GeneralRe: hourglass mouse still clicking Pin
lushgrass9-Jul-06 23:48
lushgrass9-Jul-06 23:48 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi10-Jul-06 1:42
Nader Elshehabi10-Jul-06 1:42 
GeneralRe: hourglass mouse still clicking [modified] Pin
lushgrass12-Jul-06 16:22
lushgrass12-Jul-06 16:22 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi12-Jul-06 22:43
Nader Elshehabi12-Jul-06 22:43 
GeneralRe: hourglass mouse still clicking [modified] Pin
lushgrass13-Jul-06 0:51
lushgrass13-Jul-06 0:51 
AnswerRe: hourglass mouse still clicking [modified] Pin
Nader Elshehabi13-Jul-06 3:08
Nader Elshehabi13-Jul-06 3:08 
GeneralRe: hourglass mouse still clicking Pin
lushgrass13-Jul-06 4:02
lushgrass13-Jul-06 4:02 
GeneralRe: hourglass mouse still clicking Pin
Nader Elshehabi13-Jul-06 10:45
Nader Elshehabi13-Jul-06 10:45 
GeneralRe: hourglass mouse still clicking Pin
lushgrass13-Jul-06 23:44
lushgrass13-Jul-06 23:44 
QuestionRe: hourglass mouse still clicking [modified] Pin
lushgrass16-Jul-06 21:24
lushgrass16-Jul-06 21:24 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi19-Jul-06 21:14
Nader Elshehabi19-Jul-06 21:14 
QuestionDetecting CTL+M Pin
picasso26-Jul-06 19:09
picasso26-Jul-06 19:09 
AnswerRe: Detecting CTL+M Pin
stancrm6-Jul-06 20:17
stancrm6-Jul-06 20:17 
QuestionHow can I populate a treeView from a database? Pin
AngryC6-Jul-06 18:59
AngryC6-Jul-06 18:59 
AnswerRe: How can I populate a treeView from a database? Pin
Nader Elshehabi6-Jul-06 21:41
Nader Elshehabi6-Jul-06 21:41 

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.