Thanks matonga... I really appreciate all your help. You've been more than helpful.
When you told me about multiple PNG's (which is what I really need to do) by you mean that I should create a Gdiplus::Bitmap which size is the sum of all bitmaps needed, then render the independent bitmaps to that one using maybe Gdiplus::Grpahics and then that resulting bitmap will be passed to the GetAlphaChannelBitmap function I created in the sample code?
Or should I do that with the HBITMAPS? The situation here is that some of these bitmaps should be "stretched" (for covering the borders), when using Gdipus::Graphics.DrawImage the bitmap was streched accordingly to "cover" the designated area... but I am not sure that if I do this the bitmap created that will be passed to GetAlphaChannelBitmap would already have lost the alphachannel information.
Anyway... you have been such a great coder pal! Thanks.
BTW: (Off-topic) I just love alfajores!!! Specially the ones filled with dulce de leche (milk candy)!
Edit: I tried to create the combined bitmap as I proposed before but found that the composed bitmap do losses the alphachannel information... the window is correctly shown but all alphachanned data is shown as opaque... how could I combine the HBITMAPS?
Aqua-Soft Forums