Click here to Skip to main content
15,906,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 6:58
Jay Hova13-Aug-03 6:58 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 7:20
David Crow13-Aug-03 7:20 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 7:42
Jay Hova13-Aug-03 7:42 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 7:47
David Crow13-Aug-03 7:47 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 8:00
Jay Hova13-Aug-03 8:00 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 8:12
David Crow13-Aug-03 8:12 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 8:23
Jay Hova13-Aug-03 8:23 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 8:42
David Crow13-Aug-03 8:42 
Jay Hova wrote:
I get an assertion failure with that code that I had....

See my previous comment about DoDataExchange(). Even though you have a CButton control variable, there must be an entry in DoDataExchange() for it. To verify, note the file/line of the fired assertion. If you then look at that code, it will most likely look something like:

ASSERT(::IsWindow(m_hWnd));

which means there is no window associated with the variable.

Jay Hova wrote:
You lost me however with what you wrote. I don't understand it. Where should I put that code? Please clarify if you can.

You previously mentioned that the dialog was being displayed as the result of a menu selection. I assume you already have a call to DoModal() in there. Correct?
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 8:53
Jay Hova13-Aug-03 8:53 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 8:58
David Crow13-Aug-03 8:58 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 9:08
Jay Hova13-Aug-03 9:08 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 9:15
David Crow13-Aug-03 9:15 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 9:32
Jay Hova13-Aug-03 9:32 
Generalconvert a string into a date Pin
si_6913-Aug-03 4:30
si_6913-Aug-03 4:30 
GeneralRe: convert a string into a date Pin
si_6913-Aug-03 4:31
si_6913-Aug-03 4:31 
GeneralRe: convert a string into a date Pin
si_6913-Aug-03 5:23
si_6913-Aug-03 5:23 
GeneralRe: convert a string into a date Pin
David Crow13-Aug-03 5:30
David Crow13-Aug-03 5:30 
GeneralRe: convert a string into a date Pin
Steve S13-Aug-03 5:43
Steve S13-Aug-03 5:43 
GeneralRe: convert a string into a date Pin
David Crow13-Aug-03 5:59
David Crow13-Aug-03 5:59 
GeneralRe: convert a string into a date Pin
Steve S13-Aug-03 23:24
Steve S13-Aug-03 23:24 
GeneralUsing PBS_SMOOTH Pin
keegan13-Aug-03 4:24
keegan13-Aug-03 4:24 
Generaldoh Pin
keegan13-Aug-03 4:54
keegan13-Aug-03 4:54 
GeneralRe: Using PBS_SMOOTH Pin
Ryan Binns13-Aug-03 5:03
Ryan Binns13-Aug-03 5:03 
GeneralChanging pixel color on a bitmap Pin
vcplusplus13-Aug-03 4:23
vcplusplus13-Aug-03 4:23 
GeneralRe: Changing pixel color on a bitmap Pin
Ryan Binns13-Aug-03 5:05
Ryan Binns13-Aug-03 5:05 

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.