Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Black boxes when using Windows XP styles

Posted on 2002-06-20
4
Medium Priority
?
161 Views
Last Modified: 2010-05-02
I'm getting ugly black boxes instead of text whenever I use the XP styles with a form with radio boxes on a frame. The file uses the InitCommonControls deal and the manifest file, everything else look fine instead of that. The only way I've found to make them look normal is to not have them on a frame, which really defeats the purpose.
Anyone have any ideas what the deal is here?
0
Comment
Question by:ejaewon
[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
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
TomLaw1999 earned 400 total points
ID: 7097041
Use a picture box instead of a frame.
0
 

Author Comment

by:ejaewon
ID: 7100429
That did the trick.
Do you have any info on why this is the case? Also, I think I read somewhere a picbox uses much more resources than a frame - is this true?
Anyway thanks!
0
 
LVL 4

Expert Comment

by:TomLaw1999
ID: 7100831
Thanks for the 'A' ejaewon. The black box problem has been around ever since XP was released, the only solution I have seen proposed was to use a picture box. You are correct in believing that a picturebox uses more resources than a frame but unless you were using a very large number of components in your program it's probably not worth worrying about.
0
 

Author Comment

by:ejaewon
ID: 7101529
OK - thanks again.
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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

610 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