You could just cut and paste the new one on top of the old one without
actually deleting the resource. Open the other bitmap, select the whole
thing, copy it to the clipboard, open the original one, select the whole
image and press Del. Then paste in the other image.
You could also load it from a file or have more than one resource if you
want to replace it at run time.
Re: GDI Bitmap Prob. ... The "required resource not found" is a message which should be findable in the MFC source ... >the OnDraw() and Draw the data needed. ... >stretching the bitmap... >> rendered does not declare a CPaintDC, you first render the bitmap and then ... (microsoft.public.vc.mfc)
Re: loading bitmap from file at runtime ... Try giving the button an owner-drawn style, then, instead of having 4 ... try making one resource bitmap with the 4 buttons ... When you draw the bitmap onto the button, ... > HBITMAP hBitmap;... (microsoft.public.vc.mfc)
Re: customise button appearences ... button look with such things a gradient color fills and effects and ... As far as doing something vector-based, it seems to me that you could instead of using a Bitmap, use a Metafile which is essentially a vector-based thing. ... Well, you can include a bitmap as a resource in the application, which you can then use to create a Bitmap instance using the Bitmap.FromResourcemethod. ... (microsoft.public.dotnet.languages.csharp)
Re: Add my own bitmaps into a resource file? ... I want to use a resource file to load my own bitmaps. ... a new bitmap.... Then place a {$R <filename>} compiler directive with the resource ... (comp.lang.pascal.delphi.misc)
Re: resource not found error ... But, for some reason, it's like the bitmap isn't getting embedded properly ... >> I've got a bitmap file I want to use as a resource for an application. ... When I run the app,... (microsoft.public.dotnet.languages.csharp)