VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This piece of code that gives your forms a 3-d effect

Shadab Azeem Rahil  (8 Submissions)   Graphics   VB 6.0   Unknown Difficulty   Sat 6th July 2002   Mon 8th February 2021

This piece of code that gives your forms a 3-d effect

API Declarations


Declare Function Ctl3dRegister% Lib "Ctl3D.DLL" (ByVal hInst%)
Declare Function Ctl3dUnregister% Lib "Ctl3D.DLL" (ByVal hInst%)
Declare Function Ctl3dSubclassDlgEx% Lib "Ctl3D.DLL" (ByVal hWnd%, ByVal dFlags&)


Declare Function GetWindowLong& Lib "User" (ByVal hWnd%, ByVal nIndex%)
Declare Function GetWindowWord% Lib "User" (ByVal hWnd%, ByVal nIndex%)
Declare Function SetWindowLong& Lib "User" (ByVal hWnd%, ByVal nIndex%,
ByVal dwNewLong&)

Global Const FIXED_DOUBLE = 3
Global Const DS_MODALFRAME = &H80&
Global Const GWL_STYLE = (-16)
Global Const GWW_HINSTANCE = (-6)
Global Const CTL3D_ALL = &HFFFF

Declare Function GetSystemMenu% Lib "User" (ByVal hWnd%, ByVal bRevert%)
Declare Function RemoveMenu% Lib "User" (ByVal hMenu%, ByVal nPosition%,
ByVal wFlags%)

Global Const MF_BYPOSITION = &H400

Global Const COLOR_BLACK = &H0&
Global Const COLOR_LIGHT_GRAY = &HC0C0C0
Global Const COLOR_DARK_GRAY = &H808080
Global Const COLOR_WHITE = &HFFFFFF



Rate This piece of code that gives your forms a 3-d effect (1(1 Vote))
This piece of code that gives your forms a 3-d effect.bas

This piece of code that gives your forms a 3-d effect Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters