Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to monitor network traffic for a process Pin
Stephen Hewitt7-Mar-10 16:12
Stephen Hewitt7-Mar-10 16:12 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem7-Mar-10 18:44
feanorgem7-Mar-10 18:44 
GeneralRe: How to monitor network traffic for a process Pin
Stephen Hewitt7-Mar-10 19:38
Stephen Hewitt7-Mar-10 19:38 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem8-Mar-10 5:12
feanorgem8-Mar-10 5:12 
QuestionMouse down on disabled button Pin
marko20107-Mar-10 6:58
marko20107-Mar-10 6:58 
Answer[Wrong Answer]Re: Mouse down on disabled button [modified] Pin
Avi Berger7-Mar-10 12:42
Avi Berger7-Mar-10 12:42 
GeneralRe: Mouse down on disabled button Pin
LunaticFringe7-Mar-10 22:24
LunaticFringe7-Mar-10 22:24 
GeneralRe: Mouse down on disabled button Pin
Avi Berger8-Mar-10 4:57
Avi Berger8-Mar-10 4:57 
Thank you. I had evidently taken a vacation from thinking.

I agree with everything you had to say, and a 5 vote for fixing my blunder.

I had a fuzzy image that this could be for some simulator game type of thing where a control might have a lockout to be disabled, or a cover to be opened before being activated. Your solution 1, or hiding the button and displaying a different graphic button in its place, would be a better solution for this.

If I am not mistaken again, the RButtonDown message will go the parent window. The parent window could do hit testing on it (or ask the button object to do so). This approach has the drawback of needing code outside the button object to meddle with its operation. More importantly, it has the UI problems that you pointed out and, as you said, is NOT recommended.
Please do not read this signature.

QuestionMessage Removed Pin
7-Mar-10 6:13
MrMcIntyre7-Mar-10 6:13 
AnswerRe: Internet Connection Pin
Emilio Garavaglia7-Mar-10 6:23
Emilio Garavaglia7-Mar-10 6:23 
GeneralRe: Internet Connection Pin
MrMcIntyre7-Mar-10 6:40
MrMcIntyre7-Mar-10 6:40 
AnswerRe: Internet Connection [modified] PinPopular
Avi Berger7-Mar-10 7:59
Avi Berger7-Mar-10 7:59 
GeneralRe: Internet Connection Pin
Richard MacCutchan7-Mar-10 9:52
mveRichard MacCutchan7-Mar-10 9:52 
GeneralRe: Internet Connection Pin
Luc Pattyn7-Mar-10 10:23
sitebuilderLuc Pattyn7-Mar-10 10:23 
JokeRe: Internet Connection Pin
Richard MacCutchan7-Mar-10 10:35
mveRichard MacCutchan7-Mar-10 10:35 
GeneralRe: Internet Connection Pin
Luc Pattyn7-Mar-10 11:13
sitebuilderLuc Pattyn7-Mar-10 11:13 
GeneralRe: Internet Connection Pin
Avi Berger7-Mar-10 12:01
Avi Berger7-Mar-10 12:01 
GeneralRe: Internet Connection Pin
Tim Craig7-Mar-10 13:23
Tim Craig7-Mar-10 13:23 
GeneralRe: Internet Connection Pin
CPallini8-Mar-10 0:59
mveCPallini8-Mar-10 0:59 
AnswerRe: Internet Connection Pin
Emilio Garavaglia7-Mar-10 9:55
Emilio Garavaglia7-Mar-10 9:55 
QuestionHow to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 5:10
Vaclav_7-Mar-10 5:10 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Richard MacCutchan7-Mar-10 5:22
mveRichard MacCutchan7-Mar-10 5:22 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 5:46
Vaclav_7-Mar-10 5:46 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 7:15
Vaclav_7-Mar-10 7:15 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Avi Berger7-Mar-10 8:34
Avi Berger7-Mar-10 8:34 

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.