Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Bah. Why must XP be stupid?
  
User name:
Password:
Reply:
 

UserPost
Kenny3900
Posts: 1/9
Originally posted by HyperHacker
It's nice, but there seems to be some problems with frames. Things don't draw right on them. I might have to remove all manner of frames. Damn.



After adding a frame, also add a PictureBox in the frame, and add the controls you originally want to put inside the frame in the PictureBox. Like this:


_____________________________
| Frame |
| ________________________ |
| | PictureBox | |
| | [Controls] | |
| | [Controls] | |
| | [Controls] | |
| | [etc.] | |
| |________________________| |
|_____________________________|


If you cancel out the border of the pic.box, you'll see the controls looks normally "inside" the frame.
HyperLamer
Posts: 53/8210
Hmm, I tricked VB into using themes and now I can at least see how it looks. It's nice, but there seems to be some problems with frames. Things don't draw right on them. I might have to remove all manner of frames. Damn.
But I think I know why it wasn't starting up, and hopefully fixed it. (Haven't tried it compiled tho.)
dan
Posts: 6/782
XP theming Visual Basic applications is a waste of time really. Some controls don't get themed properly, and it's never going to get a fix from Microsoft. I found a page on how to (probably) fix your crash:

http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/index.asp
Jesper
Posts: 46/2390
I think there's an article on this on vbcity.com, in their FAQs section.
HyperLamer
Posts: 45/8210
Well I wrote up a VB program, and couldn't help noticing its interface was ugly. So I figured why not add XP's themed ontrols? So I did all that InitCommonControls() junk, made a manifest file, etc. All it does now is make that error sound and close. WTF?
Acmlm's Board - I2 Archive - Programming - Bah. Why must XP be stupid?


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.