Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Bug - Invisible Labels
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug - Invisible Labels

 Post Reply Post Reply
Author
Message
corpcon View Drop Down
Groupie
Groupie


Joined: 28 June 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote corpcon Quote  Post ReplyReply Direct Link To This Post Topic: Bug - Invisible Labels
    Posted: 28 June 2007 at 2:44pm
I've duplicated this problem on the sample provided with SuitePro ...
 
If you apply a style to a container (such as picture box) as is done in one of the provided example, any labels will no longer by visible.
Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2007 at 3:22pm
It would be great if you could post some pics with these bug reports so we can all see exactly what's going on.
 
Cheers ~ jp
Back to Top
corpcon View Drop Down
Groupie
Groupie


Joined: 28 June 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote corpcon Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2007 at 4:29pm
It's hard to show a pic of something that is invisible. But here are the steps to reproduce using the SkinFramework VB example ...
 
Open the SkinControls.vbp file located in the path ...
C:\Program Files\Codejock Software\Xtreme Suite Pro ActiveX\Samples\SkinFramework\Vb\SkinControls
 
Open the form in that project.
In the TabStrip on that form is a CheckBox. The CheckBox is contained in a PictureBox (the CheckBox has a large height, so it may take some effort to locate the PictureBox).
 
Draw a label somewhere on the PictureBox so it can be seen (you can reduce the height of the CheckBox if that helps).
 
Run the app. When cycling through the various skins, you will not be able to see the label. You can only see it when there is no skin applied (System).
 
Note at the bottom of the form Load event, the code ...
SkinFramework.EnableThemeDialogTexture PictureTabClient.hWnd, 6
 
This is what causes the label to disappear. Unfortunately, without that code, you then see the background color of the CheckBox.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 29 June 2007 at 1:40am
Yes, don't call SkinFramework.EnableThemeDialogTexture  for pictureboxes. - use TabControlPage from Suite package.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.