www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - 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 
Jan 24 2005