From: Nikolay Sivov Subject: Re: [PATCH 1/4] comctl32/combo: Add test for WM_CTLCOLORSTATIC Message-Id: Date: Mon, 23 Sep 2019 20:35:58 +0300 In-Reply-To: <1658837.B3O3u1KUaW@arch> References: <20190922141158.59325-1-dark.shadow4@web.de> <2797100.vt2BND2DkA@arch> <1658837.B3O3u1KUaW@arch> On Mon, Sep 23, 2019 at 7:26 PM Fabian Maurer wrote: > > > Then it should get passed to DefWindowProc. It's currently handled by > > > DefWindowProc as well, but with these patches the parent is given a > chance > > > to > > > handle it itself before it's passed to the default handler. > > > > I don't see this happening with your patch. > > What exactly don't you see happening? DefWindowProc is where otherwise > unhandled messages end up. > As far as I can tell you return with SendMessage, so it's never passed to default procedure. > > Regards, > Fabian Maurer > > >


On Mon, Sep 23, 2019 at 7:26 PM Fabian Maurer <dark.shadow4@web.de> wrote:
> > Then it should get passed to DefWindowProc. It's currently handled by
> > DefWindowProc as well, but with these patches the parent is given a chance
> > to
> > handle it itself before it's passed to the default handler.
>
> I don't see this happening with your patch.

What exactly don't you see happening? DefWindowProc is where otherwise
unhandled messages end up.

As far as I can tell you return with SendMessage, so it's never passed to default procedure.
 

Regards,
Fabian Maurer