Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

* dpkg ponders: 'C++' should have been called 'D' -- #Debian


devel / comp.os.ms-windows.programmer.win32 / Re: using WH_CALLWNDPROCRET correctly

SubjectAuthor
* using WH_CALLWNDPROCRET correctlyNonso Nosiri
+- Re: using WH_CALLWNDPROCRET correctlyJJ
`* Re: using WH_CALLWNDPROCRET correctlyR.Wieser
 `* Re: using WH_CALLWNDPROCRET correctlyNonso Nosiri
  +- Re: using WH_CALLWNDPROCRET correctlyNonso Nosiri
  `* Re: using WH_CALLWNDPROCRET correctlyR.Wieser
   `* Re: using WH_CALLWNDPROCRET correctlyPaul N
    `- Re: using WH_CALLWNDPROCRET correctlyR.Wieser

1
using WH_CALLWNDPROCRET correctly

<8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=256&group=comp.os.ms-windows.programmer.win32#256

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:620a:199a:: with SMTP id bm26mr32208081qkb.542.1639369905861;
Sun, 12 Dec 2021 20:31:45 -0800 (PST)
X-Received: by 2002:ad4:49cd:: with SMTP id j13mr40989178qvy.20.1639369905696;
Sun, 12 Dec 2021 20:31:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Sun, 12 Dec 2021 20:31:45 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:e8da:24:a8d8:a779:525:8140;
posting-account=Wz5UPQoAAADkWrxUwA7WT_LD_sIQnKsW
NNTP-Posting-Host: 2607:f2c0:e8da:24:a8d8:a779:525:8140
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com>
Subject: using WH_CALLWNDPROCRET correctly
From: thenosirin@gmail.com (Nonso Nosiri)
Injection-Date: Mon, 13 Dec 2021 04:31:45 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 12
 by: Nonso Nosiri - Mon, 13 Dec 2021 04:31 UTC

Hi,
I am using a hook with the WH_CALLWNDPROCRET flag to intercept a hwnd's procedure messages and intercept WM_INPUT and WM_PAINT, but I am having problems with it.

I cast the LPARAM to a CWPRETSTRUCT pointer according to msdn: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-hookproc
But unfortunately, the "message" member in the struct is not used the same way as in a normal procedure callback function: https://docs.microsoft.com/en-us/windows/win32/winmsg/using-window-procedures
It's either that or it is garbage data.

Am I using it wrong? would you mind creating a small code example that could help me? Or pointing out my errors, I would really appreciate it.

This is the code I'm using: https://pastebin.com/DNZhUP4m

Thanks in advance,
Chinomso Nosiri.

Re: using WH_CALLWNDPROCRET correctly

<1l2619rvyqbu9$.tgbyehbjnovl$.dlg@40tude.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=257&group=comp.os.ms-windows.programmer.win32#257

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!tzVEHvwBzvq7d3SeX21QIw.user.46.165.242.91.POSTED!not-for-mail
From: jj4public@gmail.com (JJ)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: using WH_CALLWNDPROCRET correctly
Date: Mon, 13 Dec 2021 12:12:20 +0700
Organization: Aioe.org NNTP Server
Message-ID: <1l2619rvyqbu9$.tgbyehbjnovl$.dlg@40tude.net>
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="11892"; posting-host="tzVEHvwBzvq7d3SeX21QIw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: 40tude_Dialog/2.0.15.84
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Notice: Filtered by postfilter v. 0.9.2
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Mon, 13 Dec 2021 05:12 UTC

On Sun, 12 Dec 2021 20:31:45 -0800 (PST), Nonso Nosiri wrote:
> Hi,
> I am using a hook with the WH_CALLWNDPROCRET flag to intercept a hwnd's procedure messages and intercept WM_INPUT and WM_PAINT, but I am having problems with it.
>
> I cast the LPARAM to a CWPRETSTRUCT pointer according to msdn: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-hookproc
> But unfortunately, the "message" member in the struct is not used the same way as in a normal procedure callback function: https://docs.microsoft.com/en-us/windows/win32/winmsg/using-window-procedures
> It's either that or it is garbage data.
>
> Am I using it wrong? would you mind creating a small code example that could help me? Or pointing out my errors, I would really appreciate it.
>
> This is the code I'm using: https://pastebin.com/DNZhUP4m
>
> Thanks in advance,
> Chinomso Nosiri.

What do you meant by "the same way"?
What exactly are you expecting, and what exactly are you getting?

Re: using WH_CALLWNDPROCRET correctly

<sp80o1$153o$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=258&group=comp.os.ms-windows.programmer.win32#258

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: using WH_CALLWNDPROCRET correctly
Date: Mon, 13 Dec 2021 18:43:22 +0100
Organization: Aioe.org NNTP Server
Lines: 87
Message-ID: <sp80o1$153o$1@gioia.aioe.org>
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com>
Injection-Info: gioia.aioe.org; logging-data="38008"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Priority: 3
 by: R.Wieser - Mon, 13 Dec 2021 17:43 UTC

Chinomso,

I argree with JJ. Without knowing what you are getting and what you are
expecting instead it's rather hard (understatement) to know what, if
anything, is going wrong.

To test I just added that SetWindowsHookEx call to a basic dialog and in the
callback I "dumped" the arguments to the callback as well the pointed-to
structure, and got a rather recognisable list, including the WM_PAINT
message.

Alas, my language of choice is Assembly, so there is a good chance its
rather meaningless to you. Than again ...

Please do notice that I've got some arguments to the involved functions set
to Zero. Just might make the difference.

;-- Initialisation :

call GetCurrentThreadId
call SetWindowsHookExA,WH_CALLWNDPROCRET,offset HookProcCB,0,eax

;-- callback function:

HookProcCB proc
arg @@wMsg:DWORD,@@wParam:DWORD,@@lParam:DWORD
uses ebx,esi,edi
local @@sBuffer[MAX_PATH]:BYTE

Debug_HexLongNR,[@@wMsg]
Debug_HexLongNR,[@@wParam]
Debug_HexLongNR,[@@lParam]
Debug_Chr,'- '

mov ebx,[@@lParam]
Debug_HexLongNR,[ebx].CWPRET_lResult
Debug_HexLongNR,[ebx].CWPRET_lParam
Debug_HexLongNR,[ebx].CWPRET_wParam
Debug_HexLongNR,[ebx].CWPRET_lMessage
Debug_HexLongNR,[ebx].CWPRET_hWnd
Debug_wMsg,[ebx].CWPRET_lMessage

call CallNextHookEx,0,[@@wMsg],[@@wParam],[@@lParam]
ret
HookProcCB endp

;-- Result :
00000000 00000000 0012FDD4 - 00000000 00000000 00000003 00000127 009F0276
WM_CHANGEUISTATE
00000000 00000000 0012FE94 - 00000000 00000000 00000001 00000018 009F0276
WM_SHOWWINDOW
00000000 00000000 0012FE7C - 00000000 0012FED4 00000000 00000046 009F0276
WM_WINDOWPOSCHANGING
00000000 00000000 0012FE94 - 00000000 00000468 00000001 0000001C 009F0276
WM_ACTIVATEAPP
.....
00000000 00000000 0012FE94 - 00000000 003B012C 00000000 00000005 009F0276
WM_SIZE
00000000 00000000 0012FE94 - 00000000 001701C6 00000000 00000003 009F0276
WM_MOVE
00000000 00000000 0012FE88 - 00000000 00000000 00000000 0000000F 009F0276
WM_PAINT
00000000 00000000 0012FDBC - 00000000 00000000 00000001 00000085 00060280
WM_NCPAINT
....
00000000 00000000 0012F8C8 - 00000000 002F0268 020003E9 00000111 009F0276
WM_COMMAND
00000000 00000000 0012FA78 - 00000001 00000000 009F0276 00000008 002F0268
WM_KILLFOCUS
00000000 00000000 0012FA78 - 00000000 00000000 002F0268 00000007 009F0276
WM_SETFOCUS
00000000 00000000 0012FA48 - 00000000 0012FAA0 00000000 00000046 009F0276
WM_WINDOWPOSCHANGING
00000000 00000000 0012FA48 - 00000000 0012FAA0 00000000 00000047 009F0276
WM_WINDOWPOSCHANGED
00000000 00000000 0012FBE8 - 00000000 00000000 00000000 00000010 009F0276
WM_CLOSE
00000000 00000000 0012FCC4 - 00000000 000902EC 0000F060 00000112 009F0276
WM_SYSCOMMAND

Hope that helps.

Regards,
Rudy Wieser

Re: using WH_CALLWNDPROCRET correctly

<e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=259&group=comp.os.ms-windows.programmer.win32#259

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:622a:1cd:: with SMTP id t13mr389813qtw.487.1639424270048;
Mon, 13 Dec 2021 11:37:50 -0800 (PST)
X-Received: by 2002:a05:622a:609:: with SMTP id z9mr401262qta.243.1639424269739;
Mon, 13 Dec 2021 11:37:49 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Mon, 13 Dec 2021 11:37:49 -0800 (PST)
In-Reply-To: <sp80o1$153o$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:e8da:24:a8d8:a779:525:8140;
posting-account=Wz5UPQoAAADkWrxUwA7WT_LD_sIQnKsW
NNTP-Posting-Host: 2607:f2c0:e8da:24:a8d8:a779:525:8140
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com> <sp80o1$153o$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com>
Subject: Re: using WH_CALLWNDPROCRET correctly
From: thenosirin@gmail.com (Nonso Nosiri)
Injection-Date: Mon, 13 Dec 2021 19:37:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 20
 by: Nonso Nosiri - Mon, 13 Dec 2021 19:37 UTC

Hi, sorry for the late response.

In my hook procedure I am expecting the LPARAM to point to a valid CWPRETSTRUCT with window procedure message like WM_PAINT which has a value of 15, it is called repeatedly, no? However, I am getting 32 and 132 and I do not know what cases these are. they do not match any of the window proc messages.. And the docs contain vague info about that the struct will actually hold: https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-cwpretstruct neither does it describe the procedure helpfully: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nc-winuser-hookproc

Fortunately, for my use case, I was able to resolve the problem last night via subclassing the window procedure function: https://docs.microsoft.com/en-us/windows/win32/winmsg/about-window-procedures#window-procedure-subclassing

But for the unforeseeable future, I still want to know what was wrong here.

Thanks in advance,
Chinomso Nosiri.

Re: using WH_CALLWNDPROCRET correctly

<7d82fe96-8469-42e9-9c06-023852fd3f3bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=260&group=comp.os.ms-windows.programmer.win32#260

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:620a:4ef:: with SMTP id b15mr258854qkh.662.1639424395072;
Mon, 13 Dec 2021 11:39:55 -0800 (PST)
X-Received: by 2002:a05:620a:24ca:: with SMTP id m10mr209952qkn.635.1639424394924;
Mon, 13 Dec 2021 11:39:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Mon, 13 Dec 2021 11:39:54 -0800 (PST)
In-Reply-To: <e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:f2c0:e8da:24:a8d8:a779:525:8140;
posting-account=Wz5UPQoAAADkWrxUwA7WT_LD_sIQnKsW
NNTP-Posting-Host: 2607:f2c0:e8da:24:a8d8:a779:525:8140
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com>
<sp80o1$153o$1@gioia.aioe.org> <e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7d82fe96-8469-42e9-9c06-023852fd3f3bn@googlegroups.com>
Subject: Re: using WH_CALLWNDPROCRET correctly
From: thenosirin@gmail.com (Nonso Nosiri)
Injection-Date: Mon, 13 Dec 2021 19:39:55 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 2
 by: Nonso Nosiri - Mon, 13 Dec 2021 19:39 UTC

Just a small edit...

by "window procedure message like" I mean the message member in the struct "UINT message;"

Re: using WH_CALLWNDPROCRET correctly

<sp8d1f$1b5n$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=261&group=comp.os.ms-windows.programmer.win32#261

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: using WH_CALLWNDPROCRET correctly
Date: Mon, 13 Dec 2021 22:12:43 +0100
Organization: Aioe.org NNTP Server
Lines: 41
Message-ID: <sp8d1f$1b5n$1@gioia.aioe.org>
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com> <sp80o1$153o$1@gioia.aioe.org> <e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com>
Injection-Info: gioia.aioe.org; logging-data="44215"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Original
 by: R.Wieser - Mon, 13 Dec 2021 21:12 UTC

Chinomso,

> with window procedure message like WM_PAINT which has a value of 15, it
> is called
> repeatedly, no?

That fully depends on what you do with the window you created. My full
list (from creation of the dialog upto closing it) only shows it twice.

Though you can "force" the message, simply by (partially)
covering-and-uncovering your window.

> However, I am getting 32 and 132 and I do not know what cases these are.
> they do not match any of the window proc messages.

Than I've got a nice list for you. Not all of them, but quite a bunch :

https://wiki.winehq.org/List_Of_Windows_Messages

> And the docs contain vague info about that the struct will actually hold:

What does "actually hold" mean ? Are you referring to the variables
themselves ? If so, what what in the (I assume) description is not clear
to you ? Or perhaps to the variable types ? You're a bit vague about it
yourself ...

> But for the unforeseeable future, I still want to know what was wrong
> here.

Without the "garbage data" you got we can only guess.

> I was able to resolve the problem last night via subclassing the window
> procedure function

As mentioned, I had no problem getting the hook to run and produce the data
I posted using a simple dialog.

Regards,
Rudy Wieser

Re: using WH_CALLWNDPROCRET correctly

<dc5fcfd8-74dd-4187-a04b-cd711c34d230n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=266&group=comp.os.ms-windows.programmer.win32#266

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:ac8:5e4d:: with SMTP id i13mr13215785qtx.232.1639590375175;
Wed, 15 Dec 2021 09:46:15 -0800 (PST)
X-Received: by 2002:ac8:4e82:: with SMTP id 2mr13064398qtp.499.1639590375033;
Wed, 15 Dec 2021 09:46:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Wed, 15 Dec 2021 09:46:14 -0800 (PST)
In-Reply-To: <sp8d1f$1b5n$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2.97.142.119; posting-account=0B-afgoAAABP6274zLUJKa8ZpdIdhsYx
NNTP-Posting-Host: 2.97.142.119
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com>
<sp80o1$153o$1@gioia.aioe.org> <e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com>
<sp8d1f$1b5n$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dc5fcfd8-74dd-4187-a04b-cd711c34d230n@googlegroups.com>
Subject: Re: using WH_CALLWNDPROCRET correctly
From: gw7rib@aol.com (Paul N)
Injection-Date: Wed, 15 Dec 2021 17:46:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 22
 by: Paul N - Wed, 15 Dec 2021 17:46 UTC

On Monday, December 13, 2021 at 9:13:24 PM UTC, R.Wieser wrote:
> Chinomso,
> > with window procedure message like WM_PAINT which has a value of 15, it
> > is called
> > repeatedly, no?
> That fully depends on what you do with the window you created. My full
> list (from creation of the dialog upto closing it) only shows it twice.
>
> Though you can "force" the message, simply by (partially)
> covering-and-uncovering your window.

I think the recommended way to get a WM_PAINT message is by using InvalidateRect, though there are no doubt other ways.

But covering and uncovering the window may not now work. In early versions of Windows, Windows itself did not store what any particular window looked like, so if a window was uncovered a WM_PAINT was needed to tell the window to draw (part or all of) itself on the screen. Since Vista there is apparently a thing called Desktop Window Manager, all the windows are actually stored and the DWM puts them all together appropriately. See https://en.wikipedia.org/wiki/Desktop_Window_Manager .

Re: using WH_CALLWNDPROCRET correctly

<spdble$9eo$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=267&group=comp.os.ms-windows.programmer.win32#267

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: comp.os.ms-windows.programmer.win32
Subject: Re: using WH_CALLWNDPROCRET correctly
Date: Wed, 15 Dec 2021 19:18:30 +0100
Organization: Aioe.org NNTP Server
Lines: 21
Message-ID: <spdble$9eo$1@gioia.aioe.org>
References: <8e392630-737a-4e0a-b4b9-e4ac1e139985n@googlegroups.com> <sp80o1$153o$1@gioia.aioe.org> <e2bbbd13-b120-4976-a5ba-2edcfa5fe987n@googlegroups.com> <sp8d1f$1b5n$1@gioia.aioe.org> <dc5fcfd8-74dd-4187-a04b-cd711c34d230n@googlegroups.com>
Injection-Info: gioia.aioe.org; logging-data="9688"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Wed, 15 Dec 2021 18:18 UTC

Paul,

> I think the recommended way to get a WM_PAINT message is by using
> InvalidateRect,
> though there are no doubt other ways.

:-) My idea was to provide a quick "does this button work?!" test. After
that ? Who knows.

> Since Vista there is apparently a thing called Desktop Window Manager, all
> the
> windows are actually stored and the DWM puts them all together
> appropriately.
> See https://en.wikipedia.org/wiki/Desktop_Window_Manager .

I was not aware of that change. Thanks for the heads-up.

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor