开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜