Click here to Skip to main content
15,926,144 members
Home / Discussions / C#
   

C#

 
AnswerRe: MousePosition vs lParam Pin
fang_eric6-Jul-06 21:20
fang_eric6-Jul-06 21:20 
Questionhourglass mouse still clicking Pin
lushgrass6-Jul-06 19:53
lushgrass6-Jul-06 19:53 
AnswerRe: hourglass mouse still clicking Pin
Nader Elshehabi6-Jul-06 20:38
Nader Elshehabi6-Jul-06 20:38 
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 
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 
Hello

There are many ways of dealing with this problem -lengthy operations- and each programmer chooses what suits him. Just at a glance I can think of some:

1- Put the operation on a separate thread and never stop dealing with the user
2- Disable all child controls using foreach loop in the parent
3- Override click event handlers in all child controls to display a gentle message explaining why the form is not responding
4- Displaying a modal form that captures the focus with a ProgressBar, Statusbar, and a cancel button.

PS.
I've tested the code I gave you, and it works fine. The problem must be in your implementation.

RegardsRose | [Rose]
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 

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.