software/MFrame/commonFunctions/commonFunctions.cpp
// FlashButton briefly highlights the dialog button 
// as feedback for key equivalents
FlashButton briefly highlights the dialog button
as feedback for key equivalents
FlashButton briefly highlights the dialog button as feedback for key equivalents
static void FlashButton(DialogPtr theDlgPtr, short buttonID)
{
	short			buttonType;
	Handle			buttonHandle;
	Rect			buttonRect;
	unsigned long	finalTicks;
	GetDialogItem(theDlgPtr, buttonID, &buttonType, &buttonHandle, &buttonRect);
	HiliteControl((ControlHandle) buttonHandle, kControlButtonPart);
	Delay(10, &finalTicks);
	HiliteControl((ControlHandle) buttonHandle, 0);
}
static void FlashButton ( DialogPtr theDlgPtr , short buttonID ) { short buttonType ; Handle buttonHandle ; Rect buttonRect ; unsigned long finalTicks ; GetDialogItem ( theDlgPtr , buttonID , & buttonType , & buttonHandle , & buttonRect ) ; HiliteControl ( ( ControlHandle ) buttonHandle , kControlButtonPart ) ; Delay ( 10 , & finalTicks ) ; HiliteControl ( ( ControlHandle ) buttonHandle , 0 ) ; }
FlashButton briefly highlights the dialog button
as feedback for key equivalents
FlashButton briefly highlights the dialog button as feedback for key equivalents