GetDC(NULL), GetModuleHandle(NULL), etc.

Joe Krahn
Fri Sep 2 23:15:00 GMT 2005

There are several GetDC(NULL) statements. Should these really be 
GetDC(hwndScreen)? It might make a difference for two screens with 
different pixel layouts.

GetModuleHandle(NULL) is also in several places. Maybe it's OK, but why 
not use the hInstance global?

These probably are just too low on the importance list for now. But, I 
thought it was worth mentioning.


Unsubscribe info:
Problem reports:

More information about the Cygwin-xfree mailing list