16 bit API calls in VB 3 supported in 32 bit VB 4.0 
Author Message
 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



Fri, 15 May 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VB 4.0 (16-Bit)/Crystal Reports 3.0.1.32 (16-Bit) Print Preview Maximize Window

2. VB 4.0 16 bit or 32 bit Escape Key

3. VB 4.0 conversion from 32 bit to 16 bit

4. VB 4.0: 16 bit vs 32 bit

5. VB 4.0 (16 bit vs 32 bit)

6. CARDS.DLL 16 Bit doesn't work on VB 4.0 32 Bit

7. CARDS.DLL 16 Bit doesn't work on VB 4.0 32 Bit

8. CARDS.DLL 16 Bit doesn't work on VB 4.0 32 Bit

9. Shell and Wait 16 bit apps from 32 bit VB 4.0

10. CARDS.DLL 16 Bit doesn't work on VB 4.0 32 Bit

11. Converting 16 bit to 32 bit VB 4.0 Pro

12. Calling a user-written 32-bit dll from 32-bit vb 4.0

 

 
Powered by phpBB® Forum Software