Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: fatal error LNK1120: 1 unresolved externals Pin
NarVish22-Oct-09 22:00
NarVish22-Oct-09 22:00 
AnswerRe: fatal error LNK1120: 1 unresolved externals Pin
NarVish23-Oct-09 1:41
NarVish23-Oct-09 1:41 
GeneralRe: fatal error LNK1120: 1 unresolved externals Pin
Hans Dietrich23-Oct-09 3:03
mentorHans Dietrich23-Oct-09 3:03 
QuestionHow to i send files to a network printer without opening the files. Pin
yoga_s22-Oct-09 19:27
yoga_s22-Oct-09 19:27 
AnswerRe: How to i send files to a network printer without opening the files. Pin
David Crow23-Oct-09 3:05
David Crow23-Oct-09 3:05 
QuestionHiding the edit control box in MFC Pin
DevelopmentNoob22-Oct-09 17:53
DevelopmentNoob22-Oct-09 17:53 
AnswerRe: Hiding the edit control box in MFC Pin
Adam Roderick J22-Oct-09 18:01
Adam Roderick J22-Oct-09 18:01 
AnswerRe: Hiding the edit control box in MFC Pin
Randor 22-Oct-09 18:03
professional Randor 22-Oct-09 18:03 
GeneralRe: Hiding the edit control box in MFC Pin
DevelopmentNoob22-Oct-09 19:02
DevelopmentNoob22-Oct-09 19:02 
GeneralRe: Hiding the edit control box in MFC Pin
Rajesh R Subramanian22-Oct-09 20:58
professionalRajesh R Subramanian22-Oct-09 20:58 
GeneralRe: Hiding the edit control box in MFC Pin
CPallini22-Oct-09 21:08
mveCPallini22-Oct-09 21:08 
GeneralRe: Hiding the edit control box in MFC Pin
Randor 22-Oct-09 21:12
professional Randor 22-Oct-09 21:12 
QuestionHow do I write a program that "talks" to a webcam and tells it when to take a photo? Pin
justabeagle22-Oct-09 17:44
justabeagle22-Oct-09 17:44 
AnswerRe: How do I write a program that "talks" to a webcam and tells it when to take a photo? Pin
Rajesh R Subramanian22-Oct-09 21:02
professionalRajesh R Subramanian22-Oct-09 21:02 
QuestionDisplaying a chart in a CScrollView report. Pin
Sternocera22-Oct-09 8:22
Sternocera22-Oct-09 8:22 
AnswerRe: Displaying a chart in a CScrollView report. Pin
Cedric Moonen22-Oct-09 9:16
Cedric Moonen22-Oct-09 9:16 
GeneralRe: Displaying a chart in a CScrollView report. [modified] Pin
Sternocera22-Oct-09 12:04
Sternocera22-Oct-09 12:04 
QuestionHow to display Text in Chinese? Pin
Software200722-Oct-09 7:27
Software200722-Oct-09 7:27 
AnswerRe: How to display Text in Chinese? Pin
Nemanja Trifunovic22-Oct-09 7:54
Nemanja Trifunovic22-Oct-09 7:54 
GeneralRe: How to display Text in Chinese? Pin
Software200722-Oct-09 9:22
Software200722-Oct-09 9:22 
GeneralRe: How to display Text in Chinese? Pin
dxlee22-Oct-09 10:02
dxlee22-Oct-09 10:02 
GeneralRe: How to display Text in Chinese? Pin
Software200722-Oct-09 10:19
Software200722-Oct-09 10:19 
GeneralRe: How to display Text in Chinese? Pin
Nemanja Trifunovic22-Oct-09 10:50
Nemanja Trifunovic22-Oct-09 10:50 
AnswerRe: How to display Text in Chinese? [modified] Pin
Michael Schubert22-Oct-09 11:20
Michael Schubert22-Oct-09 11:20 
QuestionSolving a repaint problem in VS2005 [modified] Pin
SimplCodr22-Oct-09 6:24
SimplCodr22-Oct-09 6:24 
D'Oh! | :doh: I have solved this in non-wizard generated applications by creating a virtual window in CMAinWin::CMainWin just after Create() is called using CDC and CBitmap. I use CClientDC to dreate the device context. However when I try to add this code to the wizard generated code in what I think is the same part of the code it compiles and links fine but I an assertion error at run-time. I hope this makes sense, I have been pounding my head for 3 days now. I could just settle for what I have but I would really like to use the new stuff. this is in MFC single document.

Is CClientDC the proper class to use for getting the device context for the main window?

If so, where in the new project do I create my virtual window?
I've tried every where I could think of with the same results.

Thanks for any help

Terry S.

SimpleCodr

modified on Thursday, October 22, 2009 2:05 PM

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.