Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

Has anyone gotten sample Wizard97 to work?

I'm looking at the Visual C 6 example of the new Wizard97 sample code under MFC/General and can't seem to get the watermarks/images to work.  

Can anyone else get Microsoft's example (hah) of CPropertySheetEx to work?
0
psdavis
Asked:
psdavis
  • 5
  • 3
1 Solution
 
psdavisAuthor Commented:
Adjusted points to 100
0
 
mikeblasCommented:
The sample works fine on my machine.

Which version of Windows are you running? As you'll notice, the abstract for the sample says you must be running Windows 98 or Windows NT 5.0 (now known as Windows 2000) for the sample to work correctly.

If you've upgraded COMCTL32.DLL (by installing NT 4 SP 4, for example), you might be able to run the sample.  Which version of COMCTL32.DLL are you using?

What is the exact mode of failure? "Can't get it to work" isn't descriptive at all.

B ekiM
0
 
psdavisAuthor Commented:
Ahhh!!! No. I didn't read it.  We've got a mishmash of OS running.  Everything works fine except that watermarks only fill half of the page.

Thanks for the confirmation.

Phillip

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
mikeblasCommented:
Great; I'm glad that settles it.

You know, your little "hah" jab was not really amusing. One of my coworkers and I wrote that sample. While my work has certainly received harsher and more public criticism, it's nothing short of offensive to find that you're holding the sample in disdain when your question is really borne of pilot error.

When asking questions in the future, please consider that. Remember that the hand you're biting might be the hand that's feeding you.

In the meantime, if you have _constructive_ criticism about the sample, I'd be happy to entertain it.

B ekiM


0
 
psdavisAuthor Commented:
My fullest apologies.

I've always been frustrated with property pages and wizards trying to get the correct fonts to work with bitmaps and was very excited to try out an upgrade.  It was just a tremendous, frustrating disappointment when it failed without warning.

I had also spent the last two weeks rewriting the samples of SimpleMapi to MFC and was just absolutely tearing my hair out! (I hope you weren't involved in that one) and some of the grief probably spilt over.  
 
> Which version of COMCTL32.DLL are you using?

Should have been the latest.  I've got IE 5.0 running.  The bitmaps were only show up about 1/3 of the way across.

> In the meantime, if you have _constructive_ criticism about the sample

OK, how about checking the OS version and poping up a AfxMessageBox if not supported?  Then jerks like me won't be bitchin?

Phillip

p.s.  The bitmaps were gorgious.


0
 
psdavisAuthor Commented:
I tried (as well as my associates) to get the Wizard97 sample to work, yet the same result has occurred.  The first watermark is only drawing about 1/3 of the bitmap starting from the left.  The title graphic is only drawing about 1/8 starting from the right.  Both graphics seem more 'gray-scale' than the original, yet there is some color involved.  

Windows 95 vs. Windows 98 does not seem to be affecting it since we both have the latest release of IE 5.0 installed.  None of us has IE 4.0.

We are compiling with Visual C 6.0 SP1 on Windows 95 and 98.  The current project is the non-unicode version debug non-static.

Should I report this to Microsoft or are you still talking to me?

Phillip


0
 
mikeblasCommented:
"I'm using a beta version of Internet Explorer" would have been a very important thing to include in your question.

As fate has it, the IE guys decided to update COMCTL32.DLL and change the behaviour of some of the property page APIs. Maybe it will be fixed before they ship, maybe it won't. I don't know what their plan will be.

A message box is not an appropriate solution because there are lots of people who would want to handle the error themselves--in ways that the library can't forsee. As such, since you know the functionality is only available in certain builds of Windows, it's up to you to check for that functionality in an appropirate way.

B ekiM


0
 
psdavisAuthor Commented:
Thanks Mike.  

We tried the release version on multiple machines with some results.  Windows 95 with any version of the common control resulted in the 1/3 problem.  Windows 98 with IE5.0 same error.  

Windows 98 without IE5.0 (e.g. Netscape) resulted in some success.  The effect was good, but buggy (not the sample's fault).  Bitmaps seemed to bleed over about 4 pixels from the right border onto the left.  It also had some major refreshing problems.  It might be why they disabled it in IE5?

Phillip


0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now