U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » Dynamic theme changes
Re: Dynamic theme changes [message #61228 is a reply to message #61212] Fri, 13 December 2024 19:26 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 740
Registered: November 2008
Location: France
Contributor
Hello Mirek,

I am trying to make my GraphCtrl re-style correctly: it almost worked out of the box Smile
Except for one thing : I don't draw everything on refresh, some of the drawing is cached for performance reasons. So i am trying to find the correct method to detect this FULL REPAINT event.

I Tryed using
IsFullRefresh()
==> didn't work
I tryed overloading : void State(int reason)
virtual void State(int reason) {
  if (reason == LAYOUTPOS) {
    // do what I need
  }
}
==> this worked but is it the wright way ??
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Multiline cursor
Next Topic: ide: git file history now displays author / commit info per line
Goto Forum:
  


Current Time: Sat May 09 18:59:24 GMT+2 2026

Total time taken to generate the page: 0.00750 seconds