Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Formatting QmGrid - row height, Font, Color
#8
Thanks again Gintaras. I have been trying and it works very well for setting up initial row/cell colors (text/background). But if I want to change
e.g. change row color depending on click or based on a separate trackbar item, I can't seem to make it work without multiplying all the rows, I want to color.
I think I need some way to clear all rows of formatting but can't figure this out.
if I try to loop through all rows and apply a 'default' background, it only works at startup but not on subsequent clicks.
I have put 'goto gCustomDraw' into items like case [NM_CLICK,NM_DBLCLK,NM_RCLICK], but it doesn't really work. Something maybe with the fact that it is 'prepaint"? Not sure what that means. I have tried to look at DEX example but same issue.
Thanks for any guidance.
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)