Window without border like Corel Draw start up from powerbuilder
Friends, many a times I saw Corel Draw start up window. It has n开发者_JAVA百科o shape; that means it contain balloon shape and has no border.
I also created start up image and I placed on one window. Now I want to transparent the areas which are outside my image.
Its a vb code; if anybody has tried this solution, please let me know with code.
Usually that is done calling the region function of the Win32 API:
- Region functions
- SetWindowRgn
- DeleteObject
First you define the region that you want to keep with CreateXXXRgn
(you create complex regions using CombineRgn
) and then activate it with SetWindowRgn
). You need to call DeleteObject
to destroy the region object.
精彩评论