|
-
Apr 17th, 2000, 04:29 AM
#1
Thread Starter
Member
I just bought this book that for VB developers and the Win32 API. It is a good book that explains alot of API's and thier declarations. However, what it doesnt tell you is what the parameter values should be set to.
i.e. for the SetWindowPos API the give the vb declaration:
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
But they do not tell you how to set the flag SWP_NOZORDER. Does anyone know of a good resource that will list them. I mainly need the 'SWP_' flags and the 'HWND_' flags. I hope my question is understandable. Thanks for any help.
JK
-
Apr 17th, 2000, 07:25 AM
#2
Hyperactive Member
Hi, JJK.
Check this site, there is a sample and an explanation:
http://www.vbapi.com/ref/s/setwindowpos.html
Larisa
-
Apr 17th, 2000, 07:25 AM
#3
Frenzied Member
Use the API Viewer, If you got to Addin Manager in the addins menu one of the things on the list is the API Viewer, this is a great reference and it stops you having to type stuff in all the time.
-
Apr 17th, 2000, 08:15 AM
#4
Thread Starter
Member
Thank you both for your help. I can't believe i forgot about the API Viewer. That has everything. It even expects you to copy stuff to the project developer. Thanks again.
JK
-
Apr 17th, 2000, 10:19 AM
#5
Unfortunately, API view doesn't have everything listed. Also, watch out for the wrong declaration of some of the functions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|