Solved

Has anyone gotten sample Wizard97 to work?

Posted on 1999-01-06
8
282 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
  • 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

937 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

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now