Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Drawing Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drawing Problem

 Post Reply Post Reply
Author
Message
snhd View Drop Down
Newbie
Newbie


Joined: 09 July 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote snhd Quote  Post ReplyReply Direct Link To This Post Topic: Drawing Problem
    Posted: 09 July 2006 at 12:49pm
Hello
 
I have developed an app. which has 2 spliterwins & two pans. One of the view has got tabcontrol which again has tree views. Recently I downloaded some msstyles & whenever I change the skin, part of the views r not refreshed/repainted even though on skin change I am invalidating all the view. Say if I have ReportControl in the 1st view, List Control in the Pane & report controls in each tabview & another report control in the third view, then the report contol will not repaint until I click on it. I tried to send SetFocus to it but it does not work.
 
One more thing - In a msstyle/cjstyle there r many configurations, right. How to read each configration in order to select one.
 
Thanks
 
 
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: 10 July 2006 at 9:24am
Hello, right. ReeportControl cash its state in bitamp. Please call m_wndReport.RedrawControl() to repaint it. For next release we will add this call to OnSysColorChange handler to redraw automatically.
Thanks.
 
See code of SkinMDISample - it show how to enumerate ini files in styile file.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
snhd View Drop Down
Newbie
Newbie


Joined: 09 July 2006
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote snhd Quote  Post ReplyReply Direct Link To This Post Posted: 10 July 2006 at 12:11pm
Thanks
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.203 seconds.