Skip to content

CreateCompatibleDC(null) missing? #604

Discussion options

You must be logged in to vote

I think this works?

private HWND windowH;
...
HDC deviceContext = GetDC(windowH);

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Gavin-Williams
Comment options

Answer selected by Gavin-Williams
Comment options

You must be logged in to vote
2 replies
@Gavin-Williams
Comment options

@AArnott
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants