Did anybody try to set a bitmap as a background image of a CAknGrid derived grid control? I know you have to use Gc (graphics context) to do that but I can't seem to get the Gc for the grid control. I can set a picture as a background image of a view just fine using this code:
However when I try to use this on a grid by assigning this Gc to that of the ItemDrawer for the grid using ItemDrawer's SetGc method it doesn't work. The background is still white....
Any help is greatly appreciated.
Regards, Aljaz
Setting a background image on CAknGrid
2004-01-30, 08:40#2
I managed to solve part of the problem. The image wasn't showing 'cause the grid was taking up the whole screen. Still have to figure out how to make the grid transparent or something so I can see the background behind the grid. So if anyone knows something about this, any help is much appreciated.