Click here to Skip to main content
15,923,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help needed in loading file! Pin
cyn817-Apr-07 8:19
cyn817-Apr-07 8:19 
AnswerRe: Help needed in loading file! Pin
David Crow17-Apr-07 8:11
David Crow17-Apr-07 8:11 
GeneralRe: Help needed in loading file! Pin
cyn817-Apr-07 8:29
cyn817-Apr-07 8:29 
GeneralRe: Help needed in loading file! Pin
David Crow17-Apr-07 8:52
David Crow17-Apr-07 8:52 
Question__.dll not found. Re-installing the application... Pin
VonHagNDaz17-Apr-07 5:52
VonHagNDaz17-Apr-07 5:52 
QuestionRe: __.dll not found. Re-installing the application... Pin
David Crow17-Apr-07 5:56
David Crow17-Apr-07 5:56 
AnswerRe: __.dll not found. Re-installing the application... Pin
VonHagNDaz17-Apr-07 5:58
VonHagNDaz17-Apr-07 5:58 
AnswerRe: __.dll not found. Re-installing the application... Pin
Mark Salsbery17-Apr-07 6:38
Mark Salsbery17-Apr-07 6:38 
GeneralRe: __.dll not found. Re-installing the application... Pin
VonHagNDaz17-Apr-07 6:41
VonHagNDaz17-Apr-07 6:41 
GeneralRe: __.dll not found. Re-installing the application... Pin
Mark Salsbery17-Apr-07 6:49
Mark Salsbery17-Apr-07 6:49 
GeneralRe: __.dll not found. Re-installing the application... Pin
VonHagNDaz17-Apr-07 8:02
VonHagNDaz17-Apr-07 8:02 
GeneralRe: __.dll not found. Re-installing the application... Pin
Mark Salsbery17-Apr-07 8:23
Mark Salsbery17-Apr-07 8:23 
GeneralRe: __.dll not found. Re-installing the application... Pin
VonHagNDaz17-Apr-07 8:26
VonHagNDaz17-Apr-07 8:26 
GeneralRe: __.dll not found. Re-installing the application... Pin
Mark Salsbery17-Apr-07 8:32
Mark Salsbery17-Apr-07 8:32 
QuestionColoring controls Pin
iayd17-Apr-07 5:18
iayd17-Apr-07 5:18 
AnswerRe: Coloring controls Pin
Hamid_RT17-Apr-07 5:57
Hamid_RT17-Apr-07 5:57 
QuestionStretchBlt fails in Window 98 Pin
PrabhuDev17-Apr-07 4:39
PrabhuDev17-Apr-07 4:39 
QuestionRe: StretchBlt fails in Window 98 Pin
Mark Salsbery17-Apr-07 5:37
Mark Salsbery17-Apr-07 5:37 
AnswerRe: StretchBlt fails in Window 98 Pin
PrabhuDev18-Apr-07 4:39
PrabhuDev18-Apr-07 4:39 
GeneralRe: StretchBlt fails in Window 98 Pin
Mark Salsbery18-Apr-07 5:50
Mark Salsbery18-Apr-07 5:50 
GeneralRe: StretchBlt fails in Window 98 Pin
PrabhuDev22-Apr-07 23:30
PrabhuDev22-Apr-07 23:30 
QuestionRe: StretchBlt fails in Window 98 Pin
Mark Salsbery23-Apr-07 4:54
Mark Salsbery23-Apr-07 4:54 
AnswerRe: StretchBlt fails in Window 98 Pin
PrabhuDev23-Apr-07 5:49
PrabhuDev23-Apr-07 5:49 
I have developed my application in Xp. I am running only the release build in windows 98. This is the function i am using to display the text.

DisplayText(CDC* pDC, const CRect& rect, const CString& strText)
{
ASSERT(NULL != pDC);
int iPrevMode = pDC->SetBkMode(TRANSPARENT);
COLORREF clrTextColor = RGB(255, 255, 255);
pDC->SetTextColor(clrTextColor);
CRect rectDisplay = rect;
rectDisplay.NormalizeRect();
CString strTextOut = strText;
pDC->DrawText(strTextOut, rectDisplay, DT_CENTER|DT_SINGLELINE|DT_BOTTOM);
pDC->SetBkMode(iPrevMode);
}

sometimes the function crashes in the drawtext function.
GeneralRe: StretchBlt fails in Window 98 Pin
Mark Salsbery23-Apr-07 6:27
Mark Salsbery23-Apr-07 6:27 
AnswerRe: StretchBlt fails in Window 98 Pin
Blake Miller17-Apr-07 5:45
Blake Miller17-Apr-07 5:45 

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.