How Do I stretch a background image?
Posted on 2007-12-05
Hi I have a C++/MFC program which loads a bitmap as background for a dialog box. All's well until the DPI settings changed from Normal to something bigger, that's when the bitmap is no longer big enough to cover the whole dialog box, leaving the right and bottom edge in the windows color.
The background is already a resource and I load it as:
Is there a function readily available to stretch the bitmap?