Click here to Skip to main content
15,913,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hide the file or folder Pin
Charles Oppermann7-Apr-11 11:30
Charles Oppermann7-Apr-11 11:30 
GeneralRe: hide the file or folder Pin
Richard MacCutchan8-Apr-11 0:21
mveRichard MacCutchan8-Apr-11 0:21 
GeneralRe: hide the file or folder Pin
sarfaraznawaz10-Apr-11 23:41
sarfaraznawaz10-Apr-11 23:41 
GeneralRe: hide the file or folder Pin
Charles Oppermann11-Apr-11 11:00
Charles Oppermann11-Apr-11 11:00 
GeneralRe: hide the file or folder Pin
sarfaraznawaz11-Apr-11 18:19
sarfaraznawaz11-Apr-11 18:19 
GeneralRe: hide the file or folder Pin
Charles Oppermann12-Apr-11 2:53
Charles Oppermann12-Apr-11 2:53 
GeneralRe: hide the file or folder Pin
sarfaraznawaz12-Apr-11 21:05
sarfaraznawaz12-Apr-11 21:05 
QuestionDisplaying Chinese Characters Pin
pix_programmer20-Mar-11 19:06
pix_programmer20-Mar-11 19:06 
AnswerRe: Displaying Chinese Characters Pin
Richard MacCutchan20-Mar-11 23:09
mveRichard MacCutchan20-Mar-11 23:09 
QuestionRe: Displaying Chinese Characters [modified] Pin
pix_programmer20-Mar-11 23:28
pix_programmer20-Mar-11 23:28 
AnswerRe: Displaying Chinese Characters Pin
Richard MacCutchan21-Mar-11 2:24
mveRichard MacCutchan21-Mar-11 2:24 
AnswerRe: Displaying Chinese Characters Pin
yu-jian21-Mar-11 3:44
yu-jian21-Mar-11 3:44 
AnswerRe: Displaying Chinese Characters Pin
malaugh31-Mar-11 13:15
malaugh31-Mar-11 13:15 
QuestionHelp Get handles of process Pin
so0_lanhlung219-Mar-11 23:29
so0_lanhlung219-Mar-11 23:29 
AnswerRe: Help Get handles of process Pin
Hans Dietrich20-Mar-11 3:09
mentorHans Dietrich20-Mar-11 3:09 
GeneralRe: Help Get handles of process Pin
so0_lanhlung220-Mar-11 6:22
so0_lanhlung220-Mar-11 6:22 
GeneralRe: Help Get handles of process Pin
Hans Dietrich20-Mar-11 7:12
mentorHans Dietrich20-Mar-11 7:12 
GeneralRe: Help Get handles of process Pin
so0_lanhlung220-Mar-11 15:54
so0_lanhlung220-Mar-11 15:54 
Questioncan anyone convert this MFC code to WIN32 code please help Pin
goldenrose919-Mar-11 19:39
goldenrose919-Mar-11 19:39 
AnswerRe: can anyone convert this MFC code to WIN32 code please help Pin
Stephen Hewitt19-Mar-11 20:54
Stephen Hewitt19-Mar-11 20:54 
AnswerRe: can anyone convert this MFC code to WIN32 code please help Pin
Richard MacCutchan19-Mar-11 22:19
mveRichard MacCutchan19-Mar-11 22:19 
GeneralMessage Removed Pin
19-Mar-11 22:37
goldenrose919-Mar-11 22:37 
GeneralRe: can anyone convert this MFC code to WIN32 code please help Pin
Richard MacCutchan19-Mar-11 22:44
mveRichard MacCutchan19-Mar-11 22:44 
AnswerRe: can anyone convert this MFC code to WIN32 code please help Pin
User 742933820-Mar-11 0:37
professionalUser 742933820-Mar-11 0:37 
In your Height and Width functions, the first argument to GetObject should be a HBITMAP, not a BITMAP*.
Judging from your original post, the HBITMAP to use would be pOldBitmapImage. In the second post, you assign NULL to this, which is inconsistent with what you do in your original post; you'd want to get the HBITMAP from dcImage and put that in pOldBitmapImage.

modified 13-Sep-18 21:01pm.

AnswerRe: can anyone convert this MFC code to WIN32 code please help Pin
Hans Dietrich20-Mar-11 1:40
mentorHans Dietrich20-Mar-11 1:40 

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.