Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Release build. Pin
John Uhlenbrock4-Sep-01 4:57
John Uhlenbrock4-Sep-01 4:57 
GeneralRe: Release build. Pin
Tim Deveaux31-Aug-01 8:15
Tim Deveaux31-Aug-01 8:15 
GeneralRe: Release build. Pin
John Uhlenbrock4-Sep-01 4:59
John Uhlenbrock4-Sep-01 4:59 
GeneralRe: All. Pin
John Uhlenbrock31-Aug-01 10:45
John Uhlenbrock31-Aug-01 10:45 
GeneralRe: All. Pin
Tim Deveaux31-Aug-01 14:33
Tim Deveaux31-Aug-01 14:33 
GeneralRe: All. Pin
John Uhlenbrock4-Sep-01 4:50
John Uhlenbrock4-Sep-01 4:50 
GeneralRe: All. Pin
Tim Deveaux4-Sep-01 13:40
Tim Deveaux4-Sep-01 13:40 
GeneralRe: All, solution...fix...whatever. Pin
John Uhlenbrock4-Sep-01 13:46
John Uhlenbrock4-Sep-01 13:46 
Found solution....or fix anyway.

I believe there is something funny with ON_CONTROL_RANGE message mapping when it is involved with a dialog bar, and a formview app. If I don't use the ON_CONTROL_RANGE message handling, it works fine, so I found a way around it. I had to comment out all my message handlers one by one (well really 50% at a time to narrow it down...etc) to find out where my error occured. I guess that when you call m_wndMyDialogBar.Create(blah blah blah) it creates each of the controls, and then if you have radio buttons like I did, it sets their check value to 0. Thus, it would call the OnCheckMyCoolRadioButton message handler, and it would crash AFTER executing this handler and attempting to return. If you make seperate message handlers for each button, ie ON_BN_CLICKED instead of ON_CONTROL_RANGE, then it works fine.

Finally, DONE!
GeneralRe: All, solution...fix...whatever. Pin
Tim Deveaux4-Sep-01 14:03
Tim Deveaux4-Sep-01 14:03 
GeneralMultiple Document Extensions Pin
Frank Deo30-Aug-01 13:49
Frank Deo30-Aug-01 13:49 
GeneralRe: Multiple Document Extensions Pin
Ben Burnett30-Aug-01 15:04
Ben Burnett30-Aug-01 15:04 
GeneralRe: Multiple Document Extensions Pin
Frank Deo30-Aug-01 15:53
Frank Deo30-Aug-01 15:53 
Questioncreating/changing icons? Pin
30-Aug-01 12:19
suss30-Aug-01 12:19 
AnswerRe: creating/changing icons? Pin
Paolo Messina30-Aug-01 23:57
professionalPaolo Messina30-Aug-01 23:57 
GeneralRe: creating/changing icons? Pin
31-Aug-01 3:10
suss31-Aug-01 3:10 
AnswerRe: creating/changing icons? Pin
Paul A. Howes31-Aug-01 3:35
Paul A. Howes31-Aug-01 3:35 
GeneralMSXML SAX Attributes Question Pin
Michael A. Barnhart30-Aug-01 12:15
Michael A. Barnhart30-Aug-01 12:15 
GeneralRe: MSXML SAX Attributes Question Pin
Alwin7530-Aug-01 20:53
Alwin7530-Aug-01 20:53 
GeneralRe: MSXML SAX Attributes Question Pin
Michael A. Barnhart31-Aug-01 0:29
Michael A. Barnhart31-Aug-01 0:29 
GeneralVisual Studio directories Pin
Michael P Butler30-Aug-01 11:09
Michael P Butler30-Aug-01 11:09 
GeneralRe: Visual Studio directories Pin
Tomasz Sowinski30-Aug-01 11:20
Tomasz Sowinski30-Aug-01 11:20 
GeneralAPI call Required Pin
30-Aug-01 10:41
suss30-Aug-01 10:41 
GeneralProgramatically updating windows 'appearance' color settings, such as desktop and title bar Pin
Jase Jennings30-Aug-01 10:29
Jase Jennings30-Aug-01 10:29 
GeneralRe: Programatically updating windows 'appearance' color settings, such as desktop and title bar Pin
Tomasz Sowinski30-Aug-01 10:33
Tomasz Sowinski30-Aug-01 10:33 
GeneralRe: Programatically updating windows 'appearance' color settings, such as desktop and title bar Pin
Jase Jennings30-Aug-01 10:58
Jase Jennings30-Aug-01 10:58 

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.