Re: [Dev-C++] Writing bitmaps to dialog boxes
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Kevin W. <ke...@me...> - 2003-10-13 09:38:17
|
Chris Sroka wrote: >I want to draw a bitmap (from a file on disk) into a part of the dialog >box. I have trawled the msdn.microsoft.com pages and haven't found a way >to do this successfully. > >Any suggestions? > >Thanks >Chris S Normally, you would draw a bitmap in response to the WM_PAINT or WM_ERASEBKGND messages, which pass a handle to the Device Context of the window (HDC). Use the DC functions to draw the bitmap (BitBlt, etc.) . If you don't have it already, download the Windows Developers' Reference (SDK help) from Microsoft. It is essential for Windows programming. Kev. |