- 博客(4)
- 收藏
- 关注
原创 如何在PB中加载声音文件?
可利用"winmm.dll"(在windows/system"下)。 声明:Function boolean sndPlaySoundA (string SoundName, ulong Flags) Library "WINMM.DLL"执行:sndPlaySoundA("c:/windows/media/Notify.wav",1)
2007-11-09 11:09:00
793
原创 如何关闭打开的dos窗口?
提供两种办法:1、API函数:DestroyWindow2、send()函数,example: 定义API:Function ulong FindWindowA (String lpClassName , String lpWindowName) Library "user32.dll"Function ulong CloseWindow (ulong hwnd ) Library "user32
2007-11-09 10:53:00
909
原创 数据窗口怎样限制用鼠标中键来滚动
数据窗口怎样限制用鼠标中键来滚动 天堂过客问:小女子想利用暑假学PB,可是碰到一个问题:用freeForm格式的数据窗口怎样限制它的滚动?当我停在她上面用鼠标中键时就自动滚动的不知哪行了。 清园答:如果要禁止使用中键,则在dw中的other事件里写: if message.number = 522 then return 1 Leon
2007-11-09 10:48:00
615
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人