Which is better, to use BeginPaint/EndPaint, or to use GetDC/ReleaseDC?
Posts tagged ‘Windows GDI’
This article discusses how you can display the page in print preview as grayscale if the printer is black-and-white. It discusses first how you can convert colors to grayscale. After that is discusses how to detect whether you are in print preview or not and whether the current printer is color or black-and-white printer. Letâ€™s goâ€¦