Solved

Black boxes when using Windows XP styles

Posted on 2002-06-20
4
157 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 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

Independent Software Vendors: 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!

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

738 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