Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making images sized to DLU's

Status
Not open for further replies.

zanza

Programmer
Feb 18, 2002
89
US
is there a way i make an image that is either sized in DLUs or at least will stay the same size in a window as the resolution changes?

žÅNžÅ
 
Images don't change their sizes based on screen resolution. The software rendering the image can do that. There are algorithms used to accomplish enlarging and shrinking. The effects on the image differ according to the technique used as well as the content (type) of the image.

Several techniques are available in the Platform SDK: GDI library using StretchBlt() and/or StretchDIBits()


-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top