> I can think of one example atm, mciSendString with 'notify' flag which
> sends callback message MM_MCINOTIFY (0x03B9). I set here Callback
> Window to 'c=PowerProMain' window, you can change it appropriately.
>
> ------------------ mciSendString.PowerPro -------------------------
> local _cd_="X:" ;; X is a cdrom drive letter
> [EMAIL PROTECTED]("open "++_cd_++" type cdaudio alias cd shareable")
> [EMAIL PROTECTED]("set cd door open notify",win.handle("c=PowerProMain"))
> [EMAIL PROTECTED]("close cd")
> quit
>
> @mci
> args sCmd,CallbackWnd
> dll.call("winmm|mciSendStringA|s ui ui ui","sCmd",0,0,CallbackWnd)
> quit
> -------------------------------------------------------------------
Oops, I omitted the reference page:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_the_notify_flag.asp
Sean
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/