Can we prevent skinning of one child form? |
Post Reply |
Author | |
DanielWilson
Newbie Joined: 11 September 2007 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 11 September 2007 at 2:26pm |
In our VB6 application, we apply skin to the MDI form. But one of our forms has a control that doesn't get along with the skin. (On program close, it crashes with an access violation.)
So ... can we do something to that one child form to prevent the skin's application? Thanks. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Try call SkinFramework.RemoveWindow(hwnd). where hwnd is handle of your control. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Boris
Senior Member Joined: 21 June 2007 Location: United Kingdom Status: Offline Points: 179 |
Post Options
Thanks(0)
|
Hi Oleg, I saw your reply to this post. I use most of your controls for my work but I also use the SGrid control by Steve McMahon @ VBAccelerator. http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/index.asp For varying reasons I should like to keep this control. However, when I remove the modally called form from being skinned the grid is still being affected. If I do SkinFramework.RemoveWindow vbalGrid1.hwnd it is still being affected. The main problem is the scroll bar which behaves oddly when the Skin control is in use. Remove the call to skin the application and you can scroll the grid quite happily even though the skin control is loaded in the project. Am I doing something wrong ?
|
|
Boris
Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1 Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 VS 2005-2008-2010-2013 |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
I have also experienced this issue.
I have a form that I cannot use the skinnning because of the issues with menus. When I remove the skin from the window, the control on the form is not "reverting" back to the correct colors.
|
|
ActiveX 13.2.1
Strider |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Add our CommandBars for this form.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
You could check this post: http://forum.codejock.com/forum_posts.asp?TID=9607
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
I have a 3rd party control that has it's own menus. When the skinning is turned on, their dynamic menus don't show up. When I try to use the command bars control, then the form gets the menu clicks instead of the 3rd party control. There are no codable options to take care of all the menu items in the control. I do use the command bars control in several other forms and it works great! It is just this one that I don't have control of the menus that is a problem.
|
|
ActiveX 13.2.1
Strider |
|
Boris
Senior Member Joined: 21 June 2007 Location: United Kingdom Status: Offline Points: 179 |
Post Options
Thanks(0)
|
Not quite sure why you posted this. This was my post anyway and you will also notice I replied to Oleg stating 'Brilliant'... or am I missing something ???
|
|
Boris
Product: Xtreme SuitePro (ActiveX) version 16.4.0 16.3.1 Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 VS 2005-2008-2010-2013 |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
Sorry, I guess I should have started a new post.
|
|
ActiveX 13.2.1
Strider |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |