 |
|
 |
If I compile this project with VC7.1 (IE6.0 and windows XP), the header bitmap is not displayed correctly. There is no problem with VC6.0. Can someone tell me how to make the header bitmap corretly display in vc 7.1.
HJ
|
|
|
|
 |
|
 |
Just tried to move vc7.1 inlcude and added back to vc6.0 include. Then it displays correctly. Anyone got idea how to make it work with vc7.1 include?
|
|
|
|
 |
|
 |
We are using the wizard97 CPropertyPageEx MFC class to show wizard pages in an MFC VC++ Application.
However if we change the display settings to be 256 colours as the colour palette, the bitmap is displayed as 16 colour. Is this a bug within the MFC class.
This behaviour can be demonstrated in the wizard97 MFC sample!
I am running Windows NT 4.0 sp 6a with Internet Explorer
5.5 and comctl32.dll version 5.81.
Any help will be greatly appreciated
|
|
|
|
 |
|
 |
I don't think that this is a bug - i noticed the same effect with other apps.
It should be the same when you create a simple modal dialog box showing a bitmap with >= 8bit per pixel at a 256 color dektop
|
|
|
|
 |
|
 |
On my machine (win2K pro) on pages with PSP_HIDEHEADER the graphic is cropped so that only the left side is visible. On pages with out PSP_HIDEHEADER the graphic is cropped to a small square on the right hand side of the header.
I think I have a DLL hell version problem. What do you think?
- Wil
|
|
|
|
 |
|
 |
Hi Will Baldwin,
I think installing IE5.5 should take care of the DLL problem. Also if you are trying to compile the code on just VC++6 then you may want to install Platform SDK.
Good Luck
|
|
|
|
 |
|
 |
I had exactly the same problem. It is some difference between the header/library files of VC++ and the Windows SDK. Disabling the Windows SDK bu moving it's include and library directories down the list fixed the problem for me.
|
|
|
|
 |
|
 |
Can you specify which Windows SDK is disabled?
Thanks
|
|
|
|
 |
|
 |
I had the same problem. You have to do this:
Insert this into your stdafx.h. I think you only need _WIN32_IE 0x0400 because the default value under windows 2000 and XP is 0x0500 and that's the windows 2000 wizard.
#ifndef WINVER
#define WINVER 0x0400 // Default value is 0x0400
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400 // Default value is 0x0400
#endif
#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0410 // Default value is 0x0410
#endif
#ifndef _WIN32_IE
#define _WIN32_IE 0x0400 // Default value is 0x0500
// new value 0x0500 -> Win2000 wizard
#endif
best wishes
Markus
|
|
|
|
 |
|
 |
I have some problems with adding pages after the sheet is displayed. If the page has a title and/or subtitle, then when pressing Next or Back to this page, the application crashes with a “User breakpoint called” (no stack). However, none of this happens if there is no title and no subtitle, or, if the page is added before the sheet’s DoModal(). Is there any known solution for that problem
|
|
|
|
 |
|
 |
Hi Miri,
I have got the same problem today. Did you find a solution meanwhile?
Raimund
|
|
|
|
 |
|
 |
The wizard displays the bitmaps when run under Win 98 and NT. but falis in Win95. Please suggest.
Aamir
|
|
|
|
 |
|
 |
There is no way, they will show up.
I did make it work with 95, but I ended up drawing the bitmap myself.
If you want to see the code, let me know.
Pat Laplant
|
|
|
|
 |
|
 |
Not entirely true, as it turns out...I found the following text is from the article "Creating Wizards" in the platform SDK documentation:
"...The discussion in most of this document assumes that you are implementing a Wizard97-style wizard for a system with version 5.80 or later of the Common Controls. You can use this style on Windows 2000 or later systems, or any Windows system with Internet Explorer 5 or later. However, you must use #define to set the value of _WIN32_IE to 0x0500 or higher before including the Common Controls header file (commctrl.h). If you attempt to use the Wizard97 style with earlier versions of the Common Controls, your application may compile but it will not display properly. For a discussion about how to create a Wizard97-compatible wizard on earlier systems, see the Backward Compatible Wizards section."
The setting for _WIN32_IE isn't defined by MFC - it uses the default setting in the CommCtrl.h it was compiled against.
You might be able to get it to work by either using the SDK directly or by creating your own versions of CPropertySheetEx/CPropertyPageEx and compiling against the latest version of the Platform SDK. VC7 should sort this out - but it won't be here until next year.
Neither option appeals to me! The simplest way is probably to implement a "Backward Compatible Wizard97" as you've effectively done - see the aforementioned article in the Platform SDK documentation
|
|
|
|
 |
|
 |
After I compile the sample project, I realised that propSheet.DoModal(); don't work. It returns
0 and the app exit. hWnd is 0x0????.
Thanks.
|
|
|
|
 |
|
 |
Hi,
Could you debug in to the DoModal and checkout where
the problem lies.
Also is your IE 4.0+ installed correctly.
The os i tested is NT 4.0 with Service Pack 5.0.
Which is your OS.
Ciao
Santosh Ra
|
|
|
|
 |
|
 |
According to Microsoft for WIZARD97 Style to work, You must be using Windows 98 or Windows NT 5.0.
Ciao
Santosh Rao
|
|
|
|
 |
|
 |
Most people will prefer a better documentation of the implementation. If it is about just codes, then the beginner category is not right for it.
Hope you will update this for the beginner, not me anyway!
Best regards,
Paul.
|
|
|
|
 |
|
 |
I have actually included some documentation
in the source files download, file: Wizard95.htm.
I will also mail request submit@codeproject.com to include
a few more excerpts from the documentation that i have
included.
Hope that should help, if you would like to see
any more descriptions or suggestions in comments,
i will be most glad to share with all.
Warm Wishes
Santosh Ra
|
|
|
|
 |