Hi,
How do I use the SetWindowLong API to retreive my window style???
This is the syntax for the API:
hwnd -> handle of the window who's style i needCode:Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
nIndex ->GWL_STYLE ( to get the window style)
but what about dwNewLong?? what do I pass for that argument??? the site http://www.vbapi.com mentions a callback function, but I don't know how to use it and what its for!
Any help here will be really appreciated.
Thanx.




Reply With Quote