Click here to Skip to main content
15,890,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionslider control help Pin
JesGDev28-Jul-06 22:19
JesGDev28-Jul-06 22:19 
AnswerRe: slider control help Pin
Naveen28-Jul-06 23:06
Naveen28-Jul-06 23:06 
GeneralRe: slider control help Pin
JesGDev29-Jul-06 7:26
JesGDev29-Jul-06 7:26 
GeneralRe: slider control help Pin
Justin Tay29-Jul-06 11:45
Justin Tay29-Jul-06 11:45 
GeneralRe: slider control help Pin
JesGDev29-Jul-06 12:01
JesGDev29-Jul-06 12:01 
QuestionCxImage class Pin
includeh1028-Jul-06 22:19
includeh1028-Jul-06 22:19 
AnswerRe: CxImage class Pin
Jay Zhu29-Jul-06 7:28
Jay Zhu29-Jul-06 7:28 
AnswerRe: CxImage class Pin
spacecadet1029-Jul-06 16:06
spacecadet1029-Jul-06 16:06 
Hey, i've used this lib in my app and it's really easy to use.
Read the docs that tell you which libs to include (depending on what image support you want) include them in your project, include the main header somewhere in your source.

bool CxImage::Load  (  const TCHAR *  filename,  <br />
  DWORD  imagetype = 0 <br />
 )  [inherited] 


Reads from disk the image in a specific format.

If decoding fails using the specified image format, the function will try the automatic file format recognition.

Parameters:
filename: file name
imagetype: file format, see ENUM_CXIMAGE_FORMATS

Returns:
true if everything is ok

bool CxImage::Encode  (  BYTE *&  buffer,  <br />
  long &  size,  <br />
  DWORD  imagetype <br />
 )  [inherited] 


Saves to memory buffer the image in a specific format.

Parameters:
buffer: output memory buffer pointer. Must be NULL, the function allocates and fill the memory, the application must free the buffer, see also FreeMemory().
size: output memory buffer size.
imagetype: file format, see ENUM_CXIMAGE_FORMATS


use the Get...() functions to fill the header info
Questionadd api functions to pe file Pin
zon_cpp28-Jul-06 21:33
zon_cpp28-Jul-06 21:33 
QuestionHow to use CImage class in VC++ 6.0 ? Pin
Vinod Sankaranarayanan28-Jul-06 20:39
Vinod Sankaranarayanan28-Jul-06 20:39 
AnswerRe: How to use CImage class in VC++ 6.0 ? Pin
Naveen28-Jul-06 21:18
Naveen28-Jul-06 21:18 
GeneralRe: How to use CImage class in VC++ 6.0 ? Pin
Vinod Sankaranarayanan28-Jul-06 21:34
Vinod Sankaranarayanan28-Jul-06 21:34 
GeneralRe: How to use CImage class in VC++ 6.0 ? Pin
Naveen28-Jul-06 21:37
Naveen28-Jul-06 21:37 
AnswerRe: How to use CImage class in VC++ 6.0 ? Pin
Hamid_RT28-Jul-06 21:44
Hamid_RT28-Jul-06 21:44 
Questioneve dataMS ACCSEE in VC++ Pin
thelip28-Jul-06 20:21
thelip28-Jul-06 20:21 
AnswerRe: eve dataMS ACCSEE in VC++ Pin
_AnsHUMAN_ 28-Jul-06 20:54
_AnsHUMAN_ 28-Jul-06 20:54 
AnswerRe: eve dataMS ACCSEE in VC++ Pin
Hamid_RT28-Jul-06 21:50
Hamid_RT28-Jul-06 21:50 
Questioncompile errors Pin
WebMaster28-Jul-06 19:27
WebMaster28-Jul-06 19:27 
QuestionRe: compile errors Pin
_AnsHUMAN_ 28-Jul-06 21:00
_AnsHUMAN_ 28-Jul-06 21:00 
AnswerRe: compile errors Pin
Hamid_RT28-Jul-06 21:44
Hamid_RT28-Jul-06 21:44 
GeneralRe: compile errors Pin
Hamid_RT28-Jul-06 21:53
Hamid_RT28-Jul-06 21:53 
GeneralRe: compile errors Pin
WebMaster29-Jul-06 7:12
WebMaster29-Jul-06 7:12 
GeneralRe: compile errors Pin
Hamid_RT30-Jul-06 3:10
Hamid_RT30-Jul-06 3:10 
Questionhow do I save a bitmap to hard-disk? Pin
Ștefan-Mihai MOGA28-Jul-06 13:48
professionalȘtefan-Mihai MOGA28-Jul-06 13:48 
AnswerRe: how do I save a bitmap to hard-disk? Pin
valikac28-Jul-06 15:22
valikac28-Jul-06 15:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.