Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how do I create a process dump file in WinXP and Win7? Pin
Code-o-mat19-May-10 3:47
Code-o-mat19-May-10 3:47 
GeneralRe: how do I create a process dump file in WinXP and Win7? Pin
Dave Calkins19-May-10 4:38
Dave Calkins19-May-10 4:38 
QuestionWinInet Pin
Rajmohan SK19-May-10 1:30
Rajmohan SK19-May-10 1:30 
AnswerRe: WinInet Pin
«_Superman_»19-May-10 11:03
professional«_Superman_»19-May-10 11:03 
QuestionRe: WinInet Pin
Rajmohan SK19-May-10 18:29
Rajmohan SK19-May-10 18:29 
QuestionPNG Image Pin
AbhiHcl18-May-10 23:59
AbhiHcl18-May-10 23:59 
AnswerRe: PNG Image Pin
sashoalm19-May-10 0:31
sashoalm19-May-10 0:31 
AnswerRe: PNG Image Pin
EmoBemo19-May-10 3:26
EmoBemo19-May-10 3:26 
If you are using the MFC Feature Pack you can use the CPngImage class. You can simply Load PNG image from the resource and use it as CBitmap because CPngImage inherits it. Other way is to use the CImage class which is part of ATL but it can load PNG only from file. As far as I remember CImage::LoadFromResource can load only bitmaps. IMHO CPngImage is more convenient when you just need HBITMAP of the PNG and CImage is more convenient when you are going to blit it on some HDC. But if you need to load from resource CPngImage is your class.
Questionimage color depth Pin
john563218-May-10 23:21
john563218-May-10 23:21 
AnswerRe: image color depth Pin
Code-o-mat19-May-10 4:03
Code-o-mat19-May-10 4:03 
GeneralRe: image color depth Pin
john563219-May-10 4:18
john563219-May-10 4:18 
GeneralRe: image color depth Pin
Code-o-mat19-May-10 4:24
Code-o-mat19-May-10 4:24 
GeneralRe: image color depth Pin
john563219-May-10 19:59
john563219-May-10 19:59 
GeneralRe: image color depth Pin
Code-o-mat19-May-10 22:05
Code-o-mat19-May-10 22:05 
QuestionAVCODEC_OPEN and AVCODEC_ENCODE_VIDEO fails... Pin
gmallax18-May-10 22:28
gmallax18-May-10 22:28 
AnswerRe: AVCODEC_OPEN and AVCODEC_ENCODE_VIDEO fails... Pin
EmoBemo19-May-10 0:46
EmoBemo19-May-10 0:46 
GeneralRe: AVCODEC_OPEN and AVCODEC_ENCODE_VIDEO fails... Pin
gmallax19-May-10 1:31
gmallax19-May-10 1:31 
QuestionUnexpected behaviour of CFileDialog with Rapi and Ceutil dll. Pin
Le@rner18-May-10 21:30
Le@rner18-May-10 21:30 
AnswerRe: Unexpected behaviour of CFileDialog with Rapi and Ceutil dll. Pin
David Crow19-May-10 5:39
David Crow19-May-10 5:39 
QuestionRemove menu toolbar from MDI Pin
mesajflaviu18-May-10 19:22
mesajflaviu18-May-10 19:22 
AnswerRe: Remove menu toolbar from MDI Pin
Fishyu18-May-10 23:39
Fishyu18-May-10 23:39 
GeneralRe: Remove menu toolbar from MDI Pin
mesajflaviu20-May-10 7:09
mesajflaviu20-May-10 7:09 
GeneralRe: Remove menu toolbar from MDI Pin
mesajflaviu20-May-10 19:43
mesajflaviu20-May-10 19:43 
QuestionProcess run as administrator Pin
ShilpiP18-May-10 18:47
ShilpiP18-May-10 18:47 
AnswerRe: Process run as administrator Pin
Xeqtr18-May-10 22:00
Xeqtr18-May-10 22:00 

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.