Click here to Skip to main content
15,892,293 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change bitmap dynamically Pin
econy23-May-13 2:52
econy23-May-13 2:52 
SuggestionRe: How to change bitmap dynamically Pin
Richard MacCutchan23-May-13 5:24
mveRichard MacCutchan23-May-13 5:24 
GeneralRe: How to change bitmap dynamically Pin
econy23-May-13 7:07
econy23-May-13 7:07 
QuestionCEdit control Pin
sarfaraznawaz22-May-13 20:12
sarfaraznawaz22-May-13 20:12 
AnswerRe: CEdit control Pin
Sivaraman Dhamodharan22-May-13 20:25
Sivaraman Dhamodharan22-May-13 20:25 
AnswerRe: CEdit control Pin
Jochen Arndt22-May-13 21:06
professionalJochen Arndt22-May-13 21:06 
QuestionUsing MagSetImageScalingCallback Pin
thanh_bkhn22-May-13 15:55
professionalthanh_bkhn22-May-13 15:55 
AnswerRe: Using MagSetImageScalingCallback Pin
«_Superman_»22-May-13 16:18
professional«_Superman_»22-May-13 16:18 
The documentation link that you provided has some lines in it that I would like to quote here -
Quote:
Note The MagSetImageScalingCallback function is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.
Quote:
This function requires Windows Display Driver Model (WDDM)-capable video cards.
Quote:
This function works only when Desktop Window Manager (DWM) is off.

For screen capture, look at the following articles -
Various methods for capturing the screen[^]
Barry's Screen Capture[^]

Not sure if this is already mentioned in the articles, but I once captured the screen using the CreateDC API used this way -
HDC hdc = CreateDC(_T("DISPLAY"), NULL, NULL, NULL);

You then save the device context in hdc to a file.
Read here for saving the device context -
Converting Device context to images ( PNG , JPEG , BMP , GIF) , Creating PDF & Printing to the Printer[^]
Saving (part of) a Device Context as a Bitmap[^]
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++) (October 2009 - September 2013)

Polymorphism in C

Questionany solution for WSAETIMEDOUT for CAsynSocket::OnConnect Pin
ForNow22-May-13 6:36
ForNow22-May-13 6:36 
SuggestionRe: any solution for WSAETIMEDOUT for CAsynSocket::OnConnect Pin
Richard MacCutchan22-May-13 21:02
mveRichard MacCutchan22-May-13 21:02 
GeneralRe: any solution for WSAETIMEDOUT for CAsynSocket::OnConnect Pin
ForNow23-May-13 4:32
ForNow23-May-13 4:32 
Questionsource code sudoku c Pin
Member 1006942622-May-13 3:54
Member 1006942622-May-13 3:54 
AnswerRe: source code sudoku c PinPopular
Chris Losinger22-May-13 4:16
professionalChris Losinger22-May-13 4:16 
GeneralRe: source code sudoku c Pin
CPallini22-May-13 22:54
mveCPallini22-May-13 22:54 
QuestionC++ Syntax failure ? Pin
Engeltje22-May-13 3:40
Engeltje22-May-13 3:40 
AnswerRe: C++ Syntax failure ? Pin
Jochen Arndt22-May-13 4:11
professionalJochen Arndt22-May-13 4:11 
GeneralRe: C++ Syntax failure ? Pin
Engeltje22-May-13 4:25
Engeltje22-May-13 4:25 
AnswerRe: C++ Syntax failure ? Pin
Erudite_Eric27-May-13 10:56
Erudite_Eric27-May-13 10:56 
Questionerror handling in c++ dll Pin
venkatesh5286721-May-13 19:39
venkatesh5286721-May-13 19:39 
AnswerRe: error handling in c++ dll Pin
Richard MacCutchan21-May-13 21:05
mveRichard MacCutchan21-May-13 21:05 
QuestionMFC SetTimer() question [solved] Pin
econy21-May-13 7:13
econy21-May-13 7:13 
AnswerRe: MFC SetTimer() question Pin
David Crow21-May-13 9:36
David Crow21-May-13 9:36 
GeneralRe: MFC SetTimer() question Pin
econy21-May-13 15:32
econy21-May-13 15:32 
GeneralRe: MFC SetTimer() question Pin
David Crow28-May-13 4:29
David Crow28-May-13 4:29 
AnswerRe: MFC SetTimer() question Pin
thanh_bkhn21-May-13 16:46
professionalthanh_bkhn21-May-13 16:46 

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.