[lazarus] Patch: redraw and menu fix (win32) [2]

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 1 17:36:39 EDT 2003


On Tue, 1 Jul 2003 22:05:49 +0200
"Micha Nelissen" <mdvpost at hotmail.com> wrote:

> -- now with file --
> 
> Hi,
> 
> Applied is a patch with 2 fixes:
> 1) do not dispatch wm_paint message before handling it. This fixes the
> empty form, because the form is painted (by calling defwindowproc) and
> then erased, by calling wincontrol.wmpaint, beginpaint, erasebkgnd, etc.
> Ie. the order was wrong, we need to get it right. This is the first step.
> 
> 2) the menu parent of parent patch. If you reference parent of parent
> menu, you need to use parent's commands, not own.

Thanks. Applied.


Mattias






More information about the Lazarus mailing list