Windows API Guide: SetWindowText Function


Public Function SoundSentryProc (ByVal dwMillisec As Long, ByVal fwdEffect As Long) As Long   ' application-defined code goes here End Function

Description & Usage

SoundSentryProc allows the use of a custom cue used by the SoundSentry accessibility feature. This callback function defines a custom method to use to present some sort of visual cue in place of the ones built into SoundSentry. Unlike most callback functions, this function must be called SoundSentryProc and must be exported by a DLL which is loaded on startup.

Return Value

If the function returns 0, the function failed to display the visual cue. If the function returns a non-zero value, the function displayed the cue successfully.

Visual Basic-Specific Issues

None.

Parameters

dwMillisec
The duration in milliseconds over which the visual cue should be displayed.
fdwEffect
The type of visual cue to display. The only valid value for this parameter is SSWF_CUSTOM.

Constant Definitions

Const SSWF_CUSTOM = 4

Used By

SOUNDSENTRY

Go back to the Callback Function listing.
Go back to the Reference section index.


Last Modified: August 15, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/s/soundsentryproc.html



Windows API Guide
Windows API Guide - Reference - Volume 1: Version 3.0 For the MS-DOS and PC-DOS Operating Systems
ISBN: B001V0KQIY
EAN: N/A
Year: 1998
Pages: 610

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net