VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

create Xp format Forms.This will work when you use pictures.Its in your hand to end up a good resul

Martin Anbu Selvan  (18 Submissions)   OLE/COM/DCOM/Active-X   VB 6.0   Unknown Difficulty   Thu 26th February 2004   Mon 8th February 2021

create Xp format Forms.This will work when you use pictures.Its in your hand to end up a good result

API Declarations


'/**************** Declare API Function **************************************************************************
Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type

Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function GetSystemMenu Lib "user32" (ByVal hWnd As Long, ByVal bRevert As Long) As Long
Private Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long
Private Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Declare Function GetClientRect Lib "user32" (ByVal hWnd As Long, lpRect As RECT) As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Declare Function CreateRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Private Declare Function CombineRgn Lib "gdi32" (ByVal hDestRgn As Long, ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long, ByVal nCombineMode As Long) As Long
Private Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByRef lpvPara As Any, ByVal fuWinIni As Long) As Long
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long

Private Const WM_NCLBUTTONDOWN = &HA1
Private Const HTCAPTION = 2
Dim bTransparent As Boolean
Private WithEvents MyForm As Form
Public Event Closed()
Const MF_BYPOSITION = &H400&
Const MF_BYCOMMAND = 0
Const SC_RESTORE = &HF120
Const SC_MOVE = &HF010
Const SC_SIZE = &HF000
Const SC_MINIMIZE = &HF020
Const SC_MAXIMIZE = &HF030
Const SC_CLOSE = &HF060
Const WM_GETSYSMENU = &H313


Const GWL_STYLE = (-16)
Const WS_SYSMENU = &H80000

Rate create Xp format Forms.This will work when you use pictures.Its in your hand to end up a good resul (2(2 Vote))
create Xp format Forms.This will work when you use pictures.Its in your hand to end up a good resul.bas

create Xp format Forms.This will work when you use pictures.Its in your hand to end up a good resul Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters