VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Set Any Picture Or Colour To Toolbar Background.

Buddhika Fernando.  (6 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Thu 15th June 2006   Mon 8th February 2021

Set Any Picture Or Colour To Toolbar Background.

API Declarations


ByVal hWnd1 As Long, ByVal hWnd2 As Long, _
ByVal lpsz1 As String, ByVal lpsz2 As String) As Long

Private Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long
Private Declare Function SetClassLong Lib "user32" Alias "SetClassLongA" ( _
ByVal hwnd As Long, ByVal nindex As Long, ByVal dwnewlong As Long) As Long

Private Declare Function InvalidateRect Lib "user32" _
(ByVal hwnd As Long, lpRect As Long, ByVal bErase As Long) As Long

Private Declare Function CreateSolidBrush Lib "gdi32" (ByVal crColor As Long) As Long
Private Declare Function CreatePatternBrush Lib "gdi32" (ByVal hBitmap As Long) As Long

Private Enum enuTBType
enuTB_FLAT = 1
enuTB_STANDARD = 2
End Enum

Private Const GCL_HBRBACKGROUND = (-10)

Rate Set Any Picture Or Colour To Toolbar Background. (1(1 Vote))
Set Any Picture Or Colour To Toolbar Background..bas

Set Any Picture Or Colour To Toolbar Background. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters