Solved

Black boxes when using Windows XP styles

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

705 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

15 Experts available now in Live!

Get 1:1 Help Now