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

Joe Krahn jkrahn@nc.rr.com
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.

Joe


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list