win2k user
2004-06-21 04:04:13 UTC
I was adding some XP flavor to my app so I can get double buffering on my
listviews, and what I found out is if I have the manifest file in the
directory with the program, it crashes. Without it, it don't.
So I then try to debug the sucker and noticed that WM_INITDIALOG does *NOT*
get called first!
WM_NOTIFY and WM_COMMAND are being called first, and crashing.
Can anyone tell me why windows is doing this? I thought WM_INITDIALOG is
supposed to ALWAYS be called first! It *IS* always called first without the
manifest file though.
I am not using any windows per se, just a Dialog to do all my work.
I then added some code to basically check if WM_INITDIALOG is called, and if
not, I return TRUE. What do you know, now my app works fine with all the XP
flavored features. I just can't understand WHY it is doing this!
Anyone shed some light on this?
listviews, and what I found out is if I have the manifest file in the
directory with the program, it crashes. Without it, it don't.
So I then try to debug the sucker and noticed that WM_INITDIALOG does *NOT*
get called first!
WM_NOTIFY and WM_COMMAND are being called first, and crashing.
Can anyone tell me why windows is doing this? I thought WM_INITDIALOG is
supposed to ALWAYS be called first! It *IS* always called first without the
manifest file though.
I am not using any windows per se, just a Dialog to do all my work.
I then added some code to basically check if WM_INITDIALOG is called, and if
not, I return TRUE. What do you know, now my app works fine with all the XP
flavored features. I just can't understand WHY it is doing this!
Anyone shed some light on this?