Hi Andrew,
Actually, what would be the equivalent of the 'get' function in D?
Thanks.
I don't know of any /elegant/ way of doing it, but a hash mapping
HWND's to Objects is usually how it's done. This is how DFL, DGUI, and
Harmonia work.
You can check out the function "winDispatch" in my sample
win32_window_framework here:
https://github.com/AndrejMitrovic/cairoDSamples
Alternativ
On Mon, 26 Dec 2011 15:06:57 -0600, Andrew Wiley wrote:
> On Mon, Dec 26, 2011 at 2:34 PM, Adrian Mercieca
> wrote:
>> Hi folks,
>>
>> Would anyone answer me on this please?
>>
>> To clarify, in Java there is are getAndSet methods on Atomic type
>> objects (along with compareAndSet).
>>
>> I know
The Window-Procedure in the Win32 API must be static \ global function since
it cannot take a class-object (the this) parameter. One can of-course use
workarounds like a hWnd->object dictionary and such.
I wonder if D has a way to elegantly solve it, like create a tiny member
function copy for eac
Thanks, this is it!