Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: winsock errors Pin
afpr18-Aug-06 3:21
afpr18-Aug-06 3:21 
GeneralRe: winsock errors Pin
Rage18-Aug-06 3:30
professionalRage18-Aug-06 3:30 
QuestionDraw on Dialog Pin
erikamania18-Aug-06 1:04
erikamania18-Aug-06 1:04 
AnswerRe: Draw on Dialog Pin
Cedric Moonen18-Aug-06 1:10
Cedric Moonen18-Aug-06 1:10 
AnswerRe: Draw on Dialog Pin
Prakash Nadar18-Aug-06 1:19
Prakash Nadar18-Aug-06 1:19 
AnswerRe: Draw on Dialog [modified] Pin
_AnsHUMAN_ 18-Aug-06 1:35
_AnsHUMAN_ 18-Aug-06 1:35 
AnswerRe: Draw on Dialog Pin
Hamid_RT18-Aug-06 2:46
Hamid_RT18-Aug-06 2:46 
QuestionAbout CView problem,thank:) Pin
rxgmoral18-Aug-06 1:03
rxgmoral18-Aug-06 1:03 
About CView problem,thankSmile | :)

<<<<<<<<<preview.h>>>>>>>
class Preview : public CView
{
public:
virtual void OnDraw(CDC* pDC);
virtual BOOL OnPreparePrinting(CPrintInfo *pInfo);
void OnPrint(CDC *pDC, CPrintInfo* pInfo);
};
<<<<<<preview.cpp>>>>>>>>>
void Preview::OnDraw(CDC* /*pDC*/)
{
}
BOOL Preview::OnPreparePrinting(CPrintInfo* pInfo)
{
return DoPreparePrinting(pInfo);
}
void Preview::OnPrint(CDC *pDC, CPrintInfo* pInfo)
{
CString str=_T("rrr");
pDC->TextOut(0,30,str);
}


<<<<<<<<<<<dialog.cpp>>>>>>>>
Preview * p=new Preview();
p->GetDC()->TextOutW(1,2,_T("rxg"));

i think add char to p;
Debug no Error,but run Error
how to add char to TextOutW function in p


sorry,My English isn't good
thankSmile | :)
AnswerRe: About CView problem,thank:) Pin
Rage18-Aug-06 1:28
professionalRage18-Aug-06 1:28 
QuestionRe: About CView problem,thank:) Pin
David Crow18-Aug-06 3:18
David Crow18-Aug-06 3:18 
Questionusing dll in VB(please help) Pin
aaaan18-Aug-06 0:59
aaaan18-Aug-06 0:59 
AnswerRe: using dll in VB(please help) Pin
Cedric Moonen18-Aug-06 1:12
Cedric Moonen18-Aug-06 1:12 
QuestionHow to hide the file names while in Thumbnail View ? Pin
Amar Sutar18-Aug-06 0:40
Amar Sutar18-Aug-06 0:40 
Questionhow to change the highlight color of listctrl Pin
GANsJob18-Aug-06 0:39
GANsJob18-Aug-06 0:39 
AnswerRe: how to change the highlight color of listctrl Pin
Tara1418-Aug-06 1:20
Tara1418-Aug-06 1:20 
GeneralRe: how to change the highlight color of listctrl [modified] Pin
GANsJob18-Aug-06 2:03
GANsJob18-Aug-06 2:03 
GeneralRe: how to change the highlight color of listctrl Pin
Tara1418-Aug-06 4:12
Tara1418-Aug-06 4:12 
GeneralRe: how to change the highlight color of listctrl Pin
GANsJob21-Aug-06 0:49
GANsJob21-Aug-06 0:49 
GeneralRe: how to change the highlight color of listctrl Pin
Tara1421-Aug-06 3:34
Tara1421-Aug-06 3:34 
AnswerRe: how to change the highlight color of listctrl Pin
Hamid_RT18-Aug-06 2:49
Hamid_RT18-Aug-06 2:49 
QuestionHyper Threading Crashes Pin
od@ananzi.co.za18-Aug-06 0:37
od@ananzi.co.za18-Aug-06 0:37 
Questiondetecting connection breakdown Pin
vijay_aroli18-Aug-06 0:18
vijay_aroli18-Aug-06 0:18 
QuestionHow do I Locate a Text box in a Big project based on the display of it at runtime? Pin
Sivaraman Dhamodaran17-Aug-06 23:47
Sivaraman Dhamodaran17-Aug-06 23:47 
AnswerRe: How do I Locate a Text box in a Big project based on the display of it at runtime? Pin
Rage17-Aug-06 23:55
professionalRage17-Aug-06 23:55 
AnswerRe: How do I Locate a Text box in a Big project based on the display of it at runtime? Pin
G_S18-Aug-06 0:12
G_S18-Aug-06 0:12 

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.