Skin Lost on Minimize |
Post Reply |
Author | |
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
Posted: 15 May 2008 at 2:55am |
I have a MDI Form with a Ribbon bar and apply a different Office2007.cjstyles skin when a different Office2007.dll is selected.
When the child window is minimized, the restore buttons lose the applied skin. The skin is recovered when I hove the mouse over the minimized child window. Some other not codejock controls start to redraw strangely after minimizing-restoring the child windos several times. Am I doing something wrong or is a bug in skinframework? Is there a workaround? Thanks! By the way, the new skin builder is great! |
|
Enjoy life. Everything is OK... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Any ideas so far?
|
|
Enjoy life. Everything is OK... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Very odd description. "Some controls", "sometimes".
What some controls. Can you reproduce it with new app? Can you attach sample that show problem.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Well, the control that I need to use but looses the skin is ComponentOne TDBCombo.
I said sometimes because it happens randomly, but it will happen with no doubt after minimizing and restoring the Child Window from 3 to 8 times. But the control buttons of the Child form always draw incorrectly when it is minimized. How can I attach a sample for you? |
|
Enjoy life. Everything is OK... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
I striped out all the database access code from the project and is ready to be sended (in 7z compression format), but I don't know how to attach it so you can test it.
|
|
Enjoy life. Everything is OK... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
uploads/20080516_035824_CyA.rar
ON the login screen just press Return (Enter). Select Tab "Notaria 30 Grupos" Then click on button "Registro" to open the Form. If you minimize it, the window buttons will not have the skin and would look very weird. Then, if you restore it, and minimize it again, and restore it several times, the TDBCombo will also be drawn weird. Thanks for your help Oleg. |
|
Enjoy life. Everything is OK... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Other way to get the same weird behavior is this:
Select Tab "Opciones Generales" (after opening the form "Registro") and change the theme & skin using the drop down button "Colores", after changing the style 2-5 times the combo box looses the skin. ... |
|
Enjoy life. Everything is OK... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
HI,
Its conflict of Office2007frame and SkiNFramework.
if you have SkinFramework you don't need call
frmCyAMain.CommandBars1.EnableOffice2007FrameHandle mfrmRegistro.hwnd
comment it and problem will be resolved.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Yes, you are right, the problem started when I changed the skin from Vista to Office2007 (available in version 12).
You are an ace. It completely solved the problem of the TDBCombo and the buttons of the minimized child window, when you minimize it clicking on the minimize button. BUT, the form also gets minimized by code clicking on a different tab. The buttons still redraw inadequately using this method. Scroll down the image to see the problem. |
|
Enjoy life. Everything is OK... |
|
origos
Groupie Joined: 28 March 2008 Location: Mexico Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Hello again,
Bad news :( The problem only got solved in the IDE Environment. When I make the EXE and run it, then changing the Theme Style from 3 to 6 times gets the TDBCombos to redraw without the Border as before. Is there an easy to implement code to make the Codejock combobox to behave similar to the MS DataCombo or TDBCombo (Using keys (IDs) instead indexes for the list elements)? Or to make the MS DataCombo to be drawn with the codejock theme? (only the opened list gets affected by the theme, but not the button nor the textbox part) That way I could stop using the TDBCombo altogether. |
|
Enjoy life. Everything is OK... |
|
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 |