Re: Resizable Views
Like Tom pointed out, keeping the image and the controls in sync might be
hard to do.
As far as the image becoming low quality, try using GDI+ or CImage (ATL
class that uses GDI+). GDI+ does a much better job keeping the image
quality of stretched bitmaps.
AliR.
"ScottBright762" <emersonespinola@gmail.com> wrote in message
news:f018659a-e322-4963-9060-ddfb5862dac0@c65g2000hsa.googlegroups.com...
I guess my problem changed. Now with your advises I can resize my
frame and view and have my controls moved, but when I have an image
which works as a egde of a control like this image:
http://igorshare.files.wordpress.com/2008/06/skin-factory-thumb.png ;
what if resize the window? what must happen to the background?
stretch? if so, the background's quality gets low. So what to do? have
you faced situations like that world wide?
[]'s
On 30 set, 12:00, "AliR \(VC++ MVP\)" <A...@online.nospam> wrote:
What is the problem you are having?
Typically I don't use the Picture control to put an image on the
background
of a window. Instead I would catch the WM_EARSEBKGND message and draw the
image myself, using bitblt or stretchblt.
AliR.
"ScottBright762" <emersonespin...@gmail.com> wrote in message
news:71974abe-7e63-4881-ba5d-4d6aa0fd4446@c65g2000hsa.googlegroups.com...
Hi all!
Now it's not a MFC question at all, but I'd appreciate to hear from
your experience if you have ever used these components that were
mentioned with an image in the background.
If so can you share this experience? Imagine that this image surrounds
some components such as listboxes, buttons, statics, and so forth.
Thanks in advance.
On 29 set, 15:13, Seetharam <smi...@gmail.com> wrote:
Yes you can..
In your OnDraw(), change the size of the image you draw by changing
the height & width in BitBlt().
-SM