
16 bit API calls in VB 3 supported in 32 bit VB 4.0
Hi:
I am looking for the API call that makes your VB application appear
"Always on Top". I tried a function called SetWindowPos but this is
used to keep forms such as splash panels on top while other forms
within your program load. I am looking for the API call that provides
this feature to Windows' CLOCK.EXE program to stay "Always on Top".
Do you know what this API call is??
Also, in VB3.0 I used to use an API call called GetModuleUsage in
conjunction with the shell statement. Because of the asyncronous
exeution used when exectuting a Shell statement, I used GetModuleUsage
and DoEvents to wait until the Shelled program terminated.
hWnd = Shell("rasphone.exe", 1)
While GetModuleUsage(hWnd) ' Asyncronous execution!
DoEvents
Wend
Now in 32 bit VB 4.0 this function appears to be unavailable. Do you know
if there is an equivalent to this in VB 4.0?????
PW
///////////////////////////////////////////
Patrick Whittle Tel: (905) 681-8107