Home > Software engineering >  VB how to implement the deformed interface (irregular form)???????
VB how to implement the deformed interface (irregular form)???????

Time:10-09

Interface implementation abnormalities, put the figure up because after displayed is a rectangle frame, beside the blank are displayed, how can only figure, hidden frame and the frame of the blank, this is I the most troublesome problem...
As shown in figure:
http://hi.csdn.net/attachment/201110/14/5269501_13185756854toz.jpg

Have transparent border right beside you can see, the compiled or is there, I have become no border edges are elongated blank, helpless... Technology is too low! Before sending a stick because figure cannot display, unknown, now resend it

CodePudding user response:

Search a few years ago somebody else to send a small address book program??
Handled in
Although a bit slower, basic requirements

CodePudding user response:

What is the irregular form should be

CodePudding user response:

In PNG format images as a background, with source code online, search,

CodePudding user response:



Vb to do with any transparent bitmap irregular form

Welcome to reprint, this article from [www.tiancao.net] Tian Cao blog links: the original http://tiancao.net/blogview.asp? LogID=24

CodePudding user response:

 


Private Sub Command1_Click ()
SetWindowLong HWND, (20), GetWindowLong (HWND, 20) (-) Or & amp; H80000
SetLayeredWindowAttributes Me HWND, & amp; HFFFFFF, 0, & amp; H1 '& amp; HFFFFFF this is the color of the background, SetLayeredWindowAttributes transparent statement
End Sub

Private Sub Command2_Click ()
End
End Sub

Private Sub Form_Load ()

End Sub



Module code:

 Public Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal HWND As Long, ByVal crKey As Long, ByVal bAlpha As Byte, ByVal dwFlags As Long) As Long 
Public Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal HWND As Long, ByVal nIndex As Long) As Long
Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal HWND As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

CodePudding user response:

Alien forms.

CodePudding user response:

http://www.skincrafter.com/

CodePudding user response:

Thanks for you help, but I'm still not solved, hope to do a tutorial down...

CodePudding user response:

ENet.com to find there are video tutorials,

CodePudding user response:

Send you the code already realize your request.

Are there any questions?

CodePudding user response:

The
references to the tenth floor myjian response:
send you the code already fulfill your requirements.

Are there any questions?

To off-the-shelf, complete, compatible with all platforms, debugging good, can run, not an error, everything, it can double-click directly, don't have to write one line of code can realize any demand

CodePudding user response:

CodePudding user response:

CodePudding user response:

I is to use the image control to realize, but tried to use the above several methods of Pal, studied, has not been able to achieve, I'm looking for the relevant tutorial, may be I technology is not very good really, but I learn things I never lose heart, ha ha, no matter how, thank you all for the support of the younger brother brother, let I also learned the best in you......

CodePudding user response:

Saw a download the example above,,, very practical

CodePudding user response:

Look: http://download.csdn.net/detail/WallesCai/795601

CodePudding user response:

Using the PNG image format, and then it is ok to use GDI + drawing out

CodePudding user response:

Don't picture box of autosize is set to true?
  • Related