Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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

QuestionRe: Solving a repaint problem in VS2005 Pin
CPallini22-Oct-09 8:19
mveCPallini22-Oct-09 8:19 
AnswerRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 10:13
SimplCodr22-Oct-09 10:13 
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini22-Oct-09 10:53
mveCPallini22-Oct-09 10:53 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 10:54
SimplCodr22-Oct-09 10:54 
QuestionRe: Solving a repaint problem in VS2005 Pin
CPallini22-Oct-09 11:06
mveCPallini22-Oct-09 11:06 
AnswerRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 11:25
SimplCodr22-Oct-09 11:25 
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini22-Oct-09 12:02
mveCPallini22-Oct-09 12:02 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 12:20
SimplCodr22-Oct-09 12:20 
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini22-Oct-09 20:38
mveCPallini22-Oct-09 20:38 
QuestionRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 3:51
SimplCodr23-Oct-09 3:51 
AnswerRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 11:32
SimplCodr22-Oct-09 11:32 
GeneralRe: Solving a repaint problem in VS2005 Pin
theCPkid22-Oct-09 16:57
theCPkid22-Oct-09 16:57 
AnswerRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 4:05
SimplCodr23-Oct-09 4:05 
GeneralRe: Solving a repaint problem in VS2005 Pin
theCPkid23-Oct-09 5:07
theCPkid23-Oct-09 5:07 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 5:49
SimplCodr23-Oct-09 5:49 
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini23-Oct-09 5:41
mveCPallini23-Oct-09 5:41 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 6:03
SimplCodr23-Oct-09 6:03 

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.