VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

xp style

cpsim  (1 Submission)   Custom Controls/Forms/Menus   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

i did some changes to the code but the credit is to douglass sheffer. is his code not asking for votes or anything. i am working on xp style controls as well and custom basic controls. in c++ as well as vb. if you like let me know.
the original code is at https://vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=30137&lngWId=1

Inputs
you need to set the form borderstyle=0 and you need to set the form showintaskbar=true Private Sub Titlebar1_Closed() End End Sub Private Sub Titlebar1_Maximized() Me.WindowState = 2 End Sub Private Sub Titlebar1_Minimized() Me.WindowState = 1 End Sub Private Sub Titlebar1_Normal() Me.WindowState = 0 End Sub Private Sub Form_Resize() Titlebar1.Height = Me.Height Titlebar1.Width = Me.Width Titlebar1.Top = 0 Titlebar1.Left = 0 End Sub

Rate xp style (6(6 Vote))

Download xp style

xp style Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters