January 25, 2005 std.c.windows.windows tweek | ||||
|---|---|---|---|---|
| ||||
When I try to use the WS_POPUP enum for window styles the compiler says it can't implicitly convert int to uint (the type of DWORD). So I'd like to request the following replace for the int-based enum for window styles in std.c.windows.windows.
/*
* Window Styles
*/
enum : uint
{
WS_OVERLAPPED = 0x00000000,
WS_POPUP = cast(uint)0x80000000,
WS_CHILD = 0x40000000,
[snip]
-Ben
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply