Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - item controls with icon not redrawed
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

item controls with icon not redrawed

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


Joined: 10 May 2013
Location: 中国
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote gdlinly Quote  Post ReplyReply Direct Link To This Post Topic: item controls with icon not redrawed
    Posted: 22 May 2013 at 1:51am
Hi, I have a report control and a item with 3 button( item control ) inside each row(e.g start, pause, stop button), each button has icon for normal and disabled state.

when I click start button, I will handle the event and enable pause button. and call reportcontrol.RedrawControl(); But the pause button icon is not instantly changed to normal icon specified.

It take some time to find it redrawed with correct icon image. And If I move my mouse to the button and click down without releasing the mouse, the pause button successfully changed.


Is there a way to manually call itemcontrol.redraw correctly? 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.141 seconds.