Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: #define vect std::vector - ok? Pin
Alain Rist9-Nov-10 3:15
Alain Rist9-Nov-10 3:15 
AnswerRe: #define vect std::vector - ok? Pin
«_Superman_»9-Nov-10 3:49
professional«_Superman_»9-Nov-10 3:49 
AnswerRe: #define vect std::vector - ok? Pin
federico.strati10-Nov-10 5:28
federico.strati10-Nov-10 5:28 
QuestionHow can use memo filed in access database and CRecordSet? Pin
Le@rner9-Nov-10 1:25
Le@rner9-Nov-10 1:25 
QuestionRe: How can use memo filed in access database and CRecordSet? Pin
David Crow9-Nov-10 4:09
David Crow9-Nov-10 4:09 
AnswerRe: How can use memo filed in access database and CRecordSet? [modified] Pin
Le@rner9-Nov-10 17:50
Le@rner9-Nov-10 17:50 
GeneralRe: How can use memo filed in access database and CRecordSet? Pin
David Crow10-Nov-10 3:04
David Crow10-Nov-10 3:04 
Question890818 - message dispatching Pin
ilostmyid28-Nov-10 21:19
professionalilostmyid28-Nov-10 21: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 2:18
Moak9-Nov-10 2:18 
GeneralRe: 890818 - message dispatching Pin
ilostmyid29-Nov-10 2:31
professionalilostmyid29-Nov-10 2:31 
QuestionWM_QUERYENDSESSION Pin
Member 28830678-Nov-10 19:35
Member 28830678-Nov-10 19:35 
AnswerRe: WM_QUERYENDSESSION Pin
Sauro Viti8-Nov-10 20:55
professionalSauro Viti8-Nov-10 20:55 
QuestionTracking application crashes in 'C' Pin
coder21k8-Nov-10 19:08
coder21k8-Nov-10 19:08 
AnswerRe: Tracking application crashes in 'C' Pin
Cedric Moonen8-Nov-10 20:27
Cedric Moonen8-Nov-10 20:27 
AnswerRe: Tracking application crashes in 'C' Pin
Moak9-Nov-10 2:13
Moak9-Nov-10 2:13 
Questionconverting function float to string for sprintf Pin
rezen858-Nov-10 14:07
rezen858-Nov-10 14:07 
AnswerRe: converting function float to string for sprintf Pin
KingsGambit8-Nov-10 17:08
KingsGambit8-Nov-10 17:08 
AnswerRe: converting function float to string for sprintf Pin
CPallini8-Nov-10 23:19
mveCPallini8-Nov-10 23:19 
GeneralRe: converting function float to string for sprintf Pin
rezen859-Nov-10 14:53
rezen859-Nov-10 14:53 
QuestionWhat to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
Code-o-mat8-Nov-10 9:05
Code-o-mat8-Nov-10 9:05 
AnswerRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
«_Superman_»8-Nov-10 9:37
professional«_Superman_»8-Nov-10 9:37 
GeneralRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
Code-o-mat8-Nov-10 10:04
Code-o-mat8-Nov-10 10:04 
GeneralRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
«_Superman_»8-Nov-10 10:12
professional«_Superman_»8-Nov-10 10:12 
GeneralRe: What to do when GetOverlappedResult results in ERROR_IO_INCOMPLETE Pin
Code-o-mat8-Nov-10 21:30
Code-o-mat8-Nov-10 21:30 
Questionchar * - returning address of local variable or temporary Pin
piul8-Nov-10 5:11
piul8-Nov-10 5: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.