PDA

Click to See Complete Forum and Search --> : shaped buttons


davidrobin
Mar 17th, 2001, 05:50 PM
I asked this question on the General VB forum with some very interesting suggestions,
see the tread http://forums.vb-world.net/showthread.php?threadid=61466&goto=newpost

I thought I would ask the same question here incase anyone had any extra ideas.

Is it possible to create shaped buttons as active X controls.

KrishnaSantosh
Mar 19th, 2001, 12:21 AM
Apart from creating shaped controls you can also
include sounds to make it more appealing and
nteractive

Here is the API that plays sound

'''''

Public Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long


Public Const SND_ASYNC = &H1 ' play asynchronously

Public Const SND_LOOP = &H8 ' loop the sound until next sndPlaySound

'''''''

Usage :: sndPlaySound "c:\AppStart.wav",&H1