Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get rid of this ERROR Pin
pl_kode28-Apr-08 17:35
pl_kode28-Apr-08 17:35 
GeneralRe: How to get rid of this ERROR Pin
Rajkumar R28-Apr-08 19:19
Rajkumar R28-Apr-08 19:19 
Questionhow to get information about plug-n-play devices Pin
vijay.victory28-Apr-08 3:07
vijay.victory28-Apr-08 3:07 
AnswerRe: how to get information about plug-n-play devices Pin
JudyL_MD28-Apr-08 6:48
JudyL_MD28-Apr-08 6:48 
GeneralSet the default export path for Crystal Reports [modified] Pin
AeJai28-Apr-08 2:47
AeJai28-Apr-08 2:47 
GeneralStrange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 2:45
scorpion king28-Apr-08 2:45 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 2:55
scorpion king28-Apr-08 2:55 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
Cedric Moonen28-Apr-08 3:05
Cedric Moonen28-Apr-08 3:05 
Member 3068970 wrote:
Sleep(3000);


You can't put a simple in there. You will block your main thread (which is the UI thread too) meaning that no message will be processed. So, all your clicks will still be queued. You have to use a timer to simulate such behavior. Disable the button and start the timer in OnMyButton and re-enable the button once the timer fired.

Cédric Moonen
Software developer

Charting control [v1.4 - Updated]

GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 3:09
scorpion king28-Apr-08 3:09 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
Maximilien28-Apr-08 3:05
Maximilien28-Apr-08 3:05 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
CPallini28-Apr-08 3:07
mveCPallini28-Apr-08 3:07 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 3:14
scorpion king28-Apr-08 3:14 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
David Crow28-Apr-08 3:37
David Crow28-Apr-08 3:37 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 3:40
scorpion king28-Apr-08 3:40 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
David Crow28-Apr-08 4:00
David Crow28-Apr-08 4:00 
GeneralNo static text in a modeless dialog Pin
piul28-Apr-08 2:28
piul28-Apr-08 2:28 
QuestionRe: No static text in a modeless dialog Pin
Nibu babu thomas28-Apr-08 3:15
Nibu babu thomas28-Apr-08 3:15 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:18
piul28-Apr-08 3:18 
GeneralRe: No static text in a modeless dialog Pin
Nibu babu thomas28-Apr-08 3:23
Nibu babu thomas28-Apr-08 3:23 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:43
piul28-Apr-08 3:43 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:56
piul28-Apr-08 3:56 
QuestionRe: No static text in a modeless dialog Pin
Rajkumar R28-Apr-08 4:23
Rajkumar R28-Apr-08 4:23 
GeneralRe: No static text in a modeless dialog Pin
Hamid_RT29-Apr-08 1:54
Hamid_RT29-Apr-08 1:54 
QuestionHow to change the Image and Text layout in the CListCtrl Pin
Somnath_Mali28-Apr-08 2:20
Somnath_Mali28-Apr-08 2:20 
GeneralRe: How to change the Image and Text layout in the CListCtrl Pin
Hamid_RT29-Apr-08 1:55
Hamid_RT29-Apr-08 1:55 

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.