Click here to Skip to main content
15,849,130 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: #define vect std::vector - ok? Pin
Alain Rist9-Nov-10 4:15
Alain Rist9-Nov-10 4:15 
AnswerRe: #define vect std::vector - ok? Pin
«_Superman_»9-Nov-10 4:49
professional«_Superman_»9-Nov-10 4:49 
AnswerRe: #define vect std::vector - ok? Pin
federico.strati10-Nov-10 6:28
federico.strati10-Nov-10 6:28 
QuestionHow can use memo filed in access database and CRecordSet? Pin
Le@rner9-Nov-10 2:25
Le@rner9-Nov-10 2:25 
QuestionRe: How can use memo filed in access database and CRecordSet? Pin
David Crow9-Nov-10 5:09
David Crow9-Nov-10 5:09 
AnswerRe: How can use memo filed in access database and CRecordSet? [modified] Pin
Le@rner9-Nov-10 18:50
Le@rner9-Nov-10 18:50 
GeneralRe: How can use memo filed in access database and CRecordSet? Pin
David Crow10-Nov-10 4:04
David Crow10-Nov-10 4:04 
Question890818 - message dispatching Pin
ilostmyid28-Nov-10 22:19
professionalilostmyid28-Nov-10 22:19 
hi i created a new project, a dialog based MFC application.
i inserted a button in the dialog with id IDC_BUTTON1.
i added a member variable of type AcButton derived from CButton to the dialog object to handle WM_LBUTTONDOWN on the button.
1. why is the button enabled while there's no handler for the IDC_BUTTON1 command and i've not included ON_COMMAND_UPDATE_UI in the message map of the dialog? in another words, why the button is enabled by default?!
in this case, i see that the AcButton::OnLButtonDown is called.
in the resource editor, i disable the button. in such a case, the AcButton::OnLButtonDown is not called anymore by clicking on the button. instead, the WM_LBUTTONDOWN is received by the dialog (the parent of the button).
2. who decides to do this?!
3. how can i make mouse events be received by a control in a dialog which cannot be focused nor get enabled? let's say eg. a static text, how can get the mouse events?
i hope i could clarify my three questions. plz answer my by numbers.
thx
GeneralRe: 890818 - message dispatching Pin
Moak9-Nov-10 3:18
Moak9-Nov-10 3:18 
GeneralRe: 890818 - message dispatching Pin
ilostmyid29-Nov-10 3:31
professionalilostmyid29-Nov-10 3:31 
QuestionWM_QUERYENDSESSION Pin
Member 28830678-Nov-10 20:35
Member 28830678-Nov-10 20:35 
AnswerRe: WM_QUERYENDSESSION Pin
Sauro Viti8-Nov-10 21:55
professionalSauro Viti8-Nov-10 21:55 
QuestionTracking application crashes in 'C' Pin
coder21k8-Nov-10 20:08
coder21k8-Nov-10 20:08 
AnswerRe: Tracking application crashes in 'C' Pin
Cedric Moonen8-Nov-10 21:27
Cedric Moonen8-Nov-10 21:27 
AnswerRe: Tracking application crashes in 'C' Pin
Moak9-Nov-10 3:13
Moak9-Nov-10 3:13 
Questionconverting function float to string for sprintf Pin
rezen858-Nov-10 15:07
rezen858-Nov-10 15:07 
AnswerRe: converting function float to string for sprintf Pin
KingsGambit8-Nov-10 18:08
KingsGambit8-Nov-10 18:08 
AnswerRe: converting function float to string for sprintf Pin
CPallini9-Nov-10 0:19
mveCPallini9-Nov-10 0:19 
GeneralRe: converting function float to string for sprintf Pin
rezen859-Nov-10 15:53
rezen859-Nov-10 15:53 
QuestionWhat to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
Code-o-mat8-Nov-10 10:05
Code-o-mat8-Nov-10 10:05 
AnswerRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
«_Superman_»8-Nov-10 10:37
professional«_Superman_»8-Nov-10 10:37 
GeneralRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
Code-o-mat8-Nov-10 11:04
Code-o-mat8-Nov-10 11:04 
GeneralRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
«_Superman_»8-Nov-10 11:12
professional«_Superman_»8-Nov-10 11:12 
GeneralRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
Code-o-mat8-Nov-10 22:30
Code-o-mat8-Nov-10 22:30 
Questionchar * - returning address of local variable or temporary Pin
piul8-Nov-10 6:11
piul8-Nov-10 6:11 

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.