Solved

Has anyone gotten sample Wizard97 to work?

Posted on 1999-01-06
8
289 Views
Last Modified: 2013-11-20
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
Comment
Question by:psdavis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 7

Author Comment

by:psdavis
ID: 1327304
Adjusted points to 100
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 100 total points
ID: 1327305
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
 
LVL 7

Author Comment

by:psdavis
ID: 1327306
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:mikeblas
ID: 1327307
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
 
LVL 7

Author Comment

by:psdavis
ID: 1327308
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
 
LVL 7

Author Comment

by:psdavis
ID: 1327309
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
 
LVL 11

Expert Comment

by:mikeblas
ID: 1327310
"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
 
LVL 7

Author Comment

by:psdavis
ID: 1327311
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question