Click here to Skip to main content
15,922,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: weird call stack problem w/VC 6... Pin
Jesse Evans18-May-07 7:32
Jesse Evans18-May-07 7:32 
Questionif ( str.GetAt(i) != letter ) ? Pin
Immunity1817-May-07 10:38
Immunity1817-May-07 10:38 
AnswerRe: if ( str.GetAt(i) != letter ) ? Pin
Mark Salsbery17-May-07 11:59
Mark Salsbery17-May-07 11:59 
GeneralRe: if ( str.GetAt(i) != letter ) ? Pin
Immunity1817-May-07 12:05
Immunity1817-May-07 12:05 
QuestionSetting directory for .ncb/.suo/.aps files? Pin
dontknowitall17-May-07 9:49
dontknowitall17-May-07 9:49 
QuestionDifference between Debug and Release Pin
masnu17-May-07 9:41
masnu17-May-07 9:41 
AnswerRe: Difference between Debug and Release Pin
Nelek17-May-07 20:29
protectorNelek17-May-07 20:29 
GeneralRe: Difference between Debug and Release Pin
masnu18-May-07 5:22
masnu18-May-07 5:22 
AnswerRe: Difference between Debug and Release Pin
prasad_som17-May-07 21:04
prasad_som17-May-07 21:04 
GeneralRe: Difference between Debug and Release Pin
masnu18-May-07 6:14
masnu18-May-07 6:14 
Questionprogram in oop in c++ Pin
KARFER17-May-07 9:27
KARFER17-May-07 9:27 
AnswerRe: program in oop in c++ Pin
Hamid_RT17-May-07 9:32
Hamid_RT17-May-07 9:32 
AnswerRe: program in oop in c++ Pin
Joan M17-May-07 10:11
professionalJoan M17-May-07 10:11 
Generalstack overflow Pin
xyecloudy17-May-07 14:51
xyecloudy17-May-07 14:51 
GeneralRe: stack overflow Pin
Hamid_RT17-May-07 19:45
Hamid_RT17-May-07 19:45 
GeneralRe: stack overflow Pin
xyecloudy18-May-07 1:18
xyecloudy18-May-07 1:18 
GeneralRe: stack overflow Pin
Hamid_RT18-May-07 1:37
Hamid_RT18-May-07 1:37 
AnswerRe: stack overflow Pin
KARFER18-May-07 2:55
KARFER18-May-07 2:55 
AnswerRe: program in oop in c++ Pin
David Crow17-May-07 10:20
David Crow17-May-07 10:20 
AnswerRe: program in oop in c++ Pin
Rick York17-May-07 10:21
mveRick York17-May-07 10:21 
GeneralRe: program in oop in c++ Pin
Rajesh R Subramanian17-May-07 19:23
professionalRajesh R Subramanian17-May-07 19:23 
QuestionProblem on dialog creation Pin
jpyp17-May-07 9:00
jpyp17-May-07 9:00 
AnswerRe: Proble on dialog creation Pin
Mark Salsbery17-May-07 9:10
Mark Salsbery17-May-07 9:10 
GeneralRe: Proble on dialog creation Pin
jpyp17-May-07 11:07
jpyp17-May-07 11:07 
Sorry but maybe I was not clear enough.

I open this dialog window by clicking on a menu choice in my main window. When the dialog opens, OnInitDialog() completes then the handler of the radio-button, which is in the window just opened, is being called. I break in the handler and I move to the OnCommand function using the Context window of the debugger. Then I check the value of lParam and it changes everytime I close and reopen the dialog window using the menu choice of my main window.

If what you say is true regarding lParam containing the handle of the control sending the message, then the value in lParam should always be the same because I am always using the menu choice to open the dialog window.

Maybe I am missing something here!
Thanks!



jpyp

GeneralRe: Proble on dialog creation Pin
Mark Salsbery17-May-07 11:51
Mark Salsbery17-May-07 11:51 

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.