You can change the last 0 to 1 for async as suggested in my previous message.
Or put pshow before playsound. Or both of them.  (untested)

So winmm can actually play sound on vista?

Срд, 15 Фев 2012, Linda Alvord писал(а):
> If you have an image and a sound file, the sound will play before the image
> appears. Can you reverse this somehow?
> 
>  
> 
> Require 'gui/gtkwd'
> 
> wd 'pc form closeok'
> 
> wd 'xywh 0 0 100 100;cc b1 button bs_ownerdraw;cn
> "/users/owner/j701-user/temp/toucan.bmp"'
> 
> 'winmm PlaySoundA > i *c x i'&cd 'c:\users\owner\j701\willie\00will.wav';0;0
> 
> wd 'pshow'
> 
>  
> 
> You need an image like  toucan.bmp  in  a location where you can find it.
> You need a  .wav   with a location to test this..
> 
>  
> 
> Linda
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to