Hendelser
19. nov., 23 - 21. nov., 23
Få det konkurransedyktige fortrinnet du trenger med kraftige ai- og skyløsninger ved å delta på Microsoft Ignite online.
Registrer deg nåDenne nettleseren støttes ikke lenger.
Oppgrader til Microsoft Edge for å dra nytte av de nyeste funksjonene, sikkerhetsoppdateringene og den nyeste tekniske støtten.
[TranslateDispatch is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Used by the client of the DoReaderMode function to intercept and explicitly handle any windows messages targeted for the scrolling area of the reader mode window. This is an application-defined callback function.
BOOL CALLBACK TranslateDispatch(
_In_ const MSG *lpmsg
);
Type: BOOL
TRUE if the message was handled by this function; otherwise, FALSE. If FALSE, the message is handled by the default reader mode implementation. That implementation handles mouse movement and buttons as well as key presses.
The following example outlines an implementation of this function.
BOOL CALLBACK
TranslateDispatchCallback(LPMSG lpmsg)
{
BOOL fResult = FALSE;
if (lpmsg->message == WM_KEYDOWN)
{
// Perform custom keyboard actions here.
fResult = TRUE;
}
return fResult;
}
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista, Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Hendelser
19. nov., 23 - 21. nov., 23
Få det konkurransedyktige fortrinnet du trenger med kraftige ai- og skyløsninger ved å delta på Microsoft Ignite online.
Registrer deg nå