Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Proble on dialog creation Pin
Mark Salsbery17-May-07 11:51
Mark Salsbery17-May-07 11:51 
The radio button is a child of the dialog, right?
The handler you break in is a command message to the dialog, right?

If yes to both, then every time you create this new dialog window, a new radio button is created.
Its window handle (HWND) which is passed in the LParam of its command messages to its parent
(the dialog) can (probably will) be different for every new instance of the dialog.

You use the ID of the radio button to identify it in a WM_COMMAND message from the radio button,
not its HWND.

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

AnswerRe: Problem on dialog creation Pin
jpyp17-May-07 12:23
jpyp17-May-07 12:23 
GeneralRe: Problem on dialog creation Pin
Mark Salsbery17-May-07 12:35
Mark Salsbery17-May-07 12:35 
GeneralRe: Problem on dialog creation Pin
jpyp18-May-07 8:04
jpyp18-May-07 8:04 
GeneralRe: Problem on dialog creation Pin
Mark Salsbery18-May-07 8:19
Mark Salsbery18-May-07 8:19 
GeneralRe: Problem on dialog creation Pin
jpyp18-May-07 9:20
jpyp18-May-07 9:20 
GeneralRe: Problem on dialog creation Pin
Mark Salsbery18-May-07 9:45
Mark Salsbery18-May-07 9:45 
QuestionRe: Problem on dialog creation Pin
David Crow18-May-07 9:51
David Crow18-May-07 9:51 
GeneralRe: Problem on dialog creation Pin
jpyp22-May-07 7:38
jpyp22-May-07 7:38 
AnswerRe: Proble on dialog creation Pin
David Crow17-May-07 10:24
David Crow17-May-07 10:24 
GeneralRe: Problem on dialog creation Pin
jpyp17-May-07 11:11
jpyp17-May-07 11:11 
GeneralRe: Problem on dialog creation Pin
David Crow18-May-07 2:59
David Crow18-May-07 2:59 
GeneralRe: Problem on dialog creation Pin
jpyp18-May-07 8:11
jpyp18-May-07 8:11 
GeneralRe: Problem on dialog creation Pin
David Crow18-May-07 8:25
David Crow18-May-07 8:25 
GeneralRe: Problem on dialog creation Pin
jpyp18-May-07 9:24
jpyp18-May-07 9:24 
QuestionSimple way of reading JPEG and TIFF images?? Pin
Kiran Satish17-May-07 8:47
Kiran Satish17-May-07 8:47 
AnswerRe: Simple way of reading JPEG and TIFF images?? Pin
led mike17-May-07 8:58
led mike17-May-07 8:58 
GeneralRe: Simple way of reading JPEG and TIFF images?? Pin
Mark Salsbery17-May-07 9:03
Mark Salsbery17-May-07 9:03 

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.