On Fri, 22 Jul 2005 16:32:17 -0400 "Dimi Paun" <[EMAIL PROTECTED]> wrote:
> From: "Phil Krylov" <[EMAIL PROTECTED]> > > Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers. > > > + case EM_GETZOOM: > > + if (!wParam || !lParam) > > + return FALSE; > > + *(int *)wParam = editor->nZoomNumerator; > > + *(int *)lParam = editor->nZoomDenominator; > > + return TRUE; > > I don't know what Windows does, but it may also do: > > + case EM_GETZOOM: > + if (wParam) *(int *)wParam = editor->nZoomNumerator; > + if (lParam) *(int *)lParam = editor->nZoomDenominator; > + return TRUE; > > Have you checked? No, but according to the documentation: The message returns TRUE if message is processed, which it will be if both wParam and lParam are not NULL -- Ph.