由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - VB question. please help
相关主题
求助!这段code如何使用?forward declaration
一道面试怪题C++. (转载)C++ memcpy declaration use restrict keyword?
Any better way to declare a function?An interview project: asynchronous socket programming
class D:public B;fast logging
C++ Template Question使用CPython要避免多线程?
recursive template?请给老程序员给推荐一本C#的书
问个基本 C array 问题大家难道全是半路出家?
What is the difference between class and struct?node.js有啥好书?
相关话题的讨论汇总
话题: vb话题: audio话题: question话题: byval话题: long
进入Programming版参与讨论
1 (共1页)
b**********y
发帖数: 2718
1
请问VB高手们,如何能够实现在播放audio file的同时还能detect mouse click呢?如
果不放audio,能够检测到点击鼠标。但一旦开始放audio file,再点鼠标就没反应了。
Here's the audio play code:
retVal& = sndPlaySound(wave_frm_name$, SND_ASYNC Or SND_NODEFAULT)
, where sndPlaySound is defined as :
Declare Function sndPlaySound32 Lib "winmm.dll" _
Alias "sndPlaySoundA" (ByVal lpszSoundName _
As String, ByVal uFlags As Long) As Long
Many thanks!
b**********y
发帖数: 2718
2
搞错了,上面的code没有问题,是我自己搞错了。

【在 b**********y 的大作中提到】
: 请问VB高手们,如何能够实现在播放audio file的同时还能detect mouse click呢?如
: 果不放audio,能够检测到点击鼠标。但一旦开始放audio file,再点鼠标就没反应了。
: Here's the audio play code:
: retVal& = sndPlaySound(wave_frm_name$, SND_ASYNC Or SND_NODEFAULT)
: , where sndPlaySound is defined as :
: Declare Function sndPlaySound32 Lib "winmm.dll" _
: Alias "sndPlaySoundA" (ByVal lpszSoundName _
: As String, ByVal uFlags As Long) As Long
: Many thanks!

k***r
发帖数: 4260
3
这个MM还在用VB呀。现在什么样的项目用VB呢?以为都消失很多年了

【在 b**********y 的大作中提到】
: 请问VB高手们,如何能够实现在播放audio file的同时还能detect mouse click呢?如
: 果不放audio,能够检测到点击鼠标。但一旦开始放audio file,再点鼠标就没反应了。
: Here's the audio play code:
: retVal& = sndPlaySound(wave_frm_name$, SND_ASYNC Or SND_NODEFAULT)
: , where sndPlaySound is defined as :
: Declare Function sndPlaySound32 Lib "winmm.dll" _
: Alias "sndPlaySoundA" (ByVal lpszSoundName _
: As String, ByVal uFlags As Long) As Long
: Many thanks!

1 (共1页)
进入Programming版参与讨论
相关主题
node.js有啥好书?C++ Template Question
FMP vs ExecutorService/Futurerecursive template?
以前是java 程序员,要面试.net 程序员问个基本 C array 问题
Node 完胜 Ruby呀What is the difference between class and struct?
求助!这段code如何使用?forward declaration
一道面试怪题C++. (转载)C++ memcpy declaration use restrict keyword?
Any better way to declare a function?An interview project: asynchronous socket programming
class D:public B;fast logging
相关话题的讨论汇总
话题: vb话题: audio话题: question话题: byval话题: long