Thread overview
PIXELFORMATDESCRIPTOR flags
Jul 27, 2013
Land
Jul 27, 2013
Mike Parker
Jul 27, 2013
Land
July 27, 2013
Were the flags omitted on purpose, or am I looking in the wrong place? They aren't in windows.d, but PIXELFORMATDESCRIPTOR structure itself is.

Flags like PFD_DRAW_TO_WINDOW, PFD_SUPPORT_OPENGL, etc.
July 27, 2013
On Saturday, 27 July 2013 at 16:01:18 UTC, Land wrote:
> Were the flags omitted on purpose, or am I looking in the wrong place? They aren't in windows.d, but PIXELFORMATDESCRIPTOR structure itself is.
>
> Flags like PFD_DRAW_TO_WINDOW, PFD_SUPPORT_OPENGL, etc.

The windows module that ships with DRuntime is incomplete. You can implement the missing stuff yourself and make a pull request at github or a bug report in the bug tracker. Or just use the WindowsAPI project[1] (also available at [2]), which is more complete.

[1] http://dsource.org/projects/bindings/wiki/WindowsApi
[2] https://github.com/AndrejMitrovic/DWinProgramming
July 27, 2013
On Saturday, 27 July 2013 at 16:22:23 UTC, Mike Parker wrote:
> On Saturday, 27 July 2013 at 16:01:18 UTC, Land wrote:
>> Were the flags omitted on purpose, or am I looking in the wrong place? They aren't in windows.d, but PIXELFORMATDESCRIPTOR structure itself is.
>>
>> Flags like PFD_DRAW_TO_WINDOW, PFD_SUPPORT_OPENGL, etc.
>
> The windows module that ships with DRuntime is incomplete. You can implement the missing stuff yourself and make a pull request at github or a bug report in the bug tracker. Or just use the WindowsAPI project[1] (also available at [2]), which is more complete.
>
> [1] http://dsource.org/projects/bindings/wiki/WindowsApi
> [2] https://github.com/AndrejMitrovic/DWinProgramming

Thanks, I'll have a look into it.