?
Solved

Black boxes when using Windows XP styles

Posted on 2002-06-20
4
Medium Priority
?
159 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

770 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