Hi there again guys. I'm trying to learn about custom controls and i'm working on a toolbar for starters. I draw the buttons by returning CDRF_NOTIFYDRAWITEM and then draw when the the dwDrawStage is CDDS_ITEMPREPAINT. the buttons draw, but, i can't figure out when or how to draw the background. Can someone help please? Thanks and bye.
Well.... i ended finding out how to draw the toolbar's background but now it seems irrelevant to me. If you're going through the same issue i recomend doing the background drawing opperation when CDDS_PREPAINT. I'm posting the example i made of the Custom draw Toolbar. It kinda resembles to the example of someone here i don't remember who, except he did with ownerdrawn buttons.
Thanks a lot and goodbye´
Later
Best regards from X