dacky
December 19th, 2005, 10:24 PM
hi i am new here..can anyone help me in loading a bitmap image into a picture control? it seems that most of the codes here in codeguru use Device context in loading images and not pictue control...thanks
|
Click to See Complete Forum and Search --> : Loading Bitmap Image in a Contol dacky December 19th, 2005, 10:24 PM hi i am new here..can anyone help me in loading a bitmap image into a picture control? it seems that most of the codes here in codeguru use Device context in loading images and not pictue control...thanks golanshahar December 20th, 2005, 03:01 AM look here it should help you: LoadImage() (http://www.codeguru.com/forum/showthread.php?t=354024) loading raw image in a frame (http://www.codeguru.com/forum/showthread.php?t=349556&) Cheers ovidiucucu December 20th, 2005, 06:11 AM hi i am new here..can anyone help me in loading a bitmap image into a picture control? it seems that most of the codes here in codeguru use Device context in loading images and not pictue control...thanks Please give more details you mean, how to load a image in a static control with SS_BITMAP style? you want to load the image from a .bmp file or from a bitmap resource? are you using MFC, or directly Windows API? humptydumpty December 20th, 2005, 06:18 AM is u r using a Dialog box. No Need just make a Picture Control on your Dialog Box. go to property of your Picture Control and in type Choose bitmap and in amge provide the id of your bitmap before that just copy your bitmap file to your workspace. dacky December 22nd, 2005, 02:21 AM look here it should help you: LoadImage() (http://www.codeguru.com/forum/showthread.php?t=354024) loading raw image in a frame (http://www.codeguru.com/forum/showthread.php?t=349556&) Cheers thanks the codes are helpful...hope you can help me next time dacky December 22nd, 2005, 02:22 AM Please give more details you mean, how to load a image in a static control with SS_BITMAP style? you want to load the image from a .bmp file or from a bitmap resource? are you using MFC, or directly Windows API? yes load a picture from a bmp file...im using MFC...i think did get it..thanks hope you can help me next time... dacky December 22nd, 2005, 02:24 AM is u r using a Dialog box. No Need just make a Picture Control on your Dialog Box. go to property of your Picture Control and in type Choose bitmap and in amge provide the id of your bitmap before that just copy your bitmap file to your workspace. hi thanks..but i need to load a picture from a file not from a resource..but i did get it...hope you can help me next time codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |