C
climax!
Hi!
I am writing a custom scrollbar which will be partly transparent(for a
PDA - so cf.net, .net has a gethdc() method) Everthing runs ok, I
imported some functions from the gdi(like transparentimage() etc)...
but i can't find a way to get a DC from a Bitmap object(loaded from
resources) which is necessary for the gdi methods. Now, I thought about
displaying the bitmap in a hidden control(child window), take its hwnd
and then get it's DC... this should work but seems not to be a very
elegant solution. Does anybody has an other idea?
thanx.
I am writing a custom scrollbar which will be partly transparent(for a
PDA - so cf.net, .net has a gethdc() method) Everthing runs ok, I
imported some functions from the gdi(like transparentimage() etc)...
but i can't find a way to get a DC from a Bitmap object(loaded from
resources) which is necessary for the gdi methods. Now, I thought about
displaying the bitmap in a hidden control(child window), take its hwnd
and then get it's DC... this should work but seems not to be a very
elegant solution. Does anybody has an other idea?
thanx.