Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to make spreadsheet Pin
Hamid_RT2-Oct-06 8:57
Hamid_RT2-Oct-06 8:57 
QuestionDebugging pains Pin
PJ Arends29-Sep-06 10:17
professionalPJ Arends29-Sep-06 10:17 
AnswerRe: Debugging pains Pin
Peter Weyzen29-Sep-06 14:04
Peter Weyzen29-Sep-06 14:04 
GeneralRe: Debugging pains Pin
PJ Arends29-Sep-06 16:10
professionalPJ Arends29-Sep-06 16:10 
GeneralRe: Debugging pains Pin
Mike_V29-Sep-06 17:57
Mike_V29-Sep-06 17:57 
GeneralRe: Debugging pains Pin
PJ Arends29-Sep-06 21:40
professionalPJ Arends29-Sep-06 21:40 
GeneralRe: Debugging pains Pin
Mike_V29-Sep-06 22:19
Mike_V29-Sep-06 22:19 
GeneralRe: Debugging pains Pin
PJ Arends30-Sep-06 12:09
professionalPJ Arends30-Sep-06 12:09 
Mike_V wrote:
Though I still don't get why that caused the problem we were seeing. But at this point it's probably better not to ask.

This code was called from CMainFrame::OnCreate()
BOOL CToolWnd::Create(CWnd *pParent)
{
    return CreateEx(WS_EX_TOOLWINDOW | WS_EX_TOPMOST,
                    AfxRegisterClass(CS_DROPSHADOW | CS_SAVEBITS,
                                     NULL, NULL, NULL),
                    ...);
}
I would have thought that the the create function would simply fail to create a window, not crash the entire app. It certainly would have been easier to debugSigh | :sigh: . I have now added code to check the OS and remove the CS_DROPSHADOW style if running on W2K.

Maybe a guy should not ask why, but I would really like to know if anybody has any ideaConfused | :confused:



GeneralRe: Debugging pains Pin
S Douglas30-Sep-06 21:08
professionalS Douglas30-Sep-06 21:08 
GeneralRe: Debugging pains Pin
PJ Arends29-Sep-06 16:16
professionalPJ Arends29-Sep-06 16:16 
QuestionWizard question OnWizardFinished Pin
Maximilien29-Sep-06 9:23
Maximilien29-Sep-06 9:23 
QuestionRe: Wizard question OnWizardFinished Pin
David Crow29-Sep-06 10:03
David Crow29-Sep-06 10:03 
QuestionDateTime Picker can select different field Pin
bflynt29-Sep-06 8:58
bflynt29-Sep-06 8:58 
Questionhow to get column count of CListCtrl? Pin
includeh1029-Sep-06 6:37
includeh1029-Sep-06 6:37 
AnswerRe: how to get column count of CListCtrl? Pin
Hamid_RT29-Sep-06 6:55
Hamid_RT29-Sep-06 6:55 
GeneralRe: how to get column count of CListCtrl? Pin
Zac Howland29-Sep-06 8:58
Zac Howland29-Sep-06 8:58 
GeneralRe: how to get column count of CListCtrl? Pin
Hamid_RT29-Sep-06 9:06
Hamid_RT29-Sep-06 9:06 
Questionsetup Pin
amaneet29-Sep-06 5:55
amaneet29-Sep-06 5:55 
AnswerRe: setup Pin
Waldermort29-Sep-06 5:58
Waldermort29-Sep-06 5:58 
AnswerRe: setup Pin
Zac Howland29-Sep-06 6:01
Zac Howland29-Sep-06 6:01 
AnswerRe: setup Pin
Hamid_RT29-Sep-06 6:57
Hamid_RT29-Sep-06 6:57 
QuestionOutput to the debugger Pin
Waldermort29-Sep-06 5:43
Waldermort29-Sep-06 5:43 
AnswerRe: Output to the debugger Pin
David Crow29-Sep-06 6:05
David Crow29-Sep-06 6:05 
GeneralRe: Output to the debugger Pin
Waldermort29-Sep-06 6:09
Waldermort29-Sep-06 6:09 
GeneralRe: Output to the debugger Pin
David Crow29-Sep-06 6:12
David Crow29-Sep-06 6:12 

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.