Solved

Black boxes when using Windows XP styles

Posted on 2002-06-20
4
156 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
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
TomLaw1999 earned 100 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

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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