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/

Reply via email to