Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog Resizing Pin
7-Jul-01 9:35
suss7-Jul-01 9:35 
GeneralRe: Dialog Resizing Pin
Christian Graus8-Jul-01 2:27
protectorChristian Graus8-Jul-01 2:27 
GeneralAttaching variables to a control Pin
6-Jul-01 13:16
suss6-Jul-01 13:16 
GeneralRe: Attaching variables to a control Pin
6-Jul-01 15:00
suss6-Jul-01 15:00 
GeneralRe: Attaching variables to a control Pin
6-Jul-01 15:30
suss6-Jul-01 15:30 
GeneralRe: Attaching variables to a control Pin
6-Jul-01 16:01
suss6-Jul-01 16:01 
GeneralRe: Attaching variables to a control Pin
6-Jul-01 16:26
suss6-Jul-01 16:26 
GeneralRe: Attaching variables to a control Pin
6-Jul-01 16:46
suss6-Jul-01 16:46 
First, as Mr. Dunn, has pointed out we would need the error message to know for sure, I would wager that what your getting is an assertion and if you go to the point of the assertion it is complaining about an hwnd not being valid or something to that affect.

I would think maybe that the problem is that DoDataExchange is getting called before you actually create the controls themeselves in OnInitDialog.

I would suggest you do this, if you have not already done it, put a break point in DoDataExchange, and one in OnInitDialog. Start the dialog, see which one the app reaches first.

I will confess that I have never tried to do things quite the way you describe, I kind of like the "Visual" part of "Visual C++". I would be interested to found out whats happening.
GeneralRe: Attaching variables to a control Pin
6-Jul-01 17:03
suss6-Jul-01 17:03 
GeneralRe: Attaching variables to a control Pin
Michael Dunn6-Jul-01 16:10
sitebuilderMichael Dunn6-Jul-01 16:10 
GeneralRe: Attaching variables to a control Pin
6-Jul-01 16:45
suss6-Jul-01 16:45 
GeneralRe: Attaching variables to a control Pin
Michael Dunn6-Jul-01 20:12
sitebuilderMichael Dunn6-Jul-01 20:12 
GeneralRe: Attaching variables to a control Pin
7-Jul-01 4:02
suss7-Jul-01 4:02 
GeneralRe: Attaching variables to a control Pin
PJ Arends7-Jul-01 5:11
professionalPJ Arends7-Jul-01 5:11 
GeneralRe: Attaching variables to a control Pin
Paolo Messina7-Jul-01 4:20
professionalPaolo Messina7-Jul-01 4:20 
GeneralRe: Attaching variables to a control Pin
7-Jul-01 7:07
suss7-Jul-01 7:07 
GeneralRe: Attaching variables to a control Pin
7-Jul-01 9:24
suss7-Jul-01 9:24 
GeneralSlider control in a Toolbar! Pin
Jake Palmer6-Jul-01 13:07
Jake Palmer6-Jul-01 13:07 
GeneralVC++ sucks. Pin
6-Jul-01 12:44
suss6-Jul-01 12:44 
GeneralRe: VC++ sucks. Pin
Carlos Antollini6-Jul-01 13:10
Carlos Antollini6-Jul-01 13:10 
GeneralRe: VC++ sucks. Pin
Jake Palmer6-Jul-01 13:10
Jake Palmer6-Jul-01 13:10 
GeneralRe: VC++ sucks. Pin
6-Jul-01 14:58
suss6-Jul-01 14:58 
GeneralRe: VC++ sucks. Pin
tonyschr6-Jul-01 15:12
tonyschr6-Jul-01 15:12 
GeneralRe: VC++ sucks. Pin
Ben Burnett6-Jul-01 17:07
Ben Burnett6-Jul-01 17:07 
GeneralRe: VC++ sucks. Pin
Chris Losinger6-Jul-01 17:20
professionalChris Losinger6-Jul-01 17:20 

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.