Click here to Skip to main content
15,916,379 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Listing running Apps Pin
Ravi Bhavnani18-Jul-06 7:30
professionalRavi Bhavnani18-Jul-06 7:30 
GeneralRe: Listing running Apps Pin
Kharfax18-Jul-06 7:37
Kharfax18-Jul-06 7:37 
AnswerRe: Listing running Apps Pin
Ali Rafiee18-Jul-06 7:43
Ali Rafiee18-Jul-06 7:43 
GeneralRe: Listing running Apps Pin
Kharfax18-Jul-06 7:48
Kharfax18-Jul-06 7:48 
GeneralRe: Listing running Apps Pin
ThatsAlok19-Jul-06 6:17
ThatsAlok19-Jul-06 6:17 
AnswerRe: Listing running Apps Pin
Hamid_RT18-Jul-06 18:56
Hamid_RT18-Jul-06 18:56 
GeneralRe: Listing running Apps Pin
Kharfax19-Jul-06 2:18
Kharfax19-Jul-06 2:18 
Questionifstream in mfc cause strange errors in debug only [modified] Pin
FredrickNorge18-Jul-06 6:24
FredrickNorge18-Jul-06 6:24 
AnswerRe: ifstream in mfc cause strange errors in debug only Pin
Maxwell Chen18-Jul-06 6:44
Maxwell Chen18-Jul-06 6:44 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
FredrickNorge18-Jul-06 6:49
FredrickNorge18-Jul-06 6:49 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
toxcct18-Jul-06 6:56
toxcct18-Jul-06 6:56 
AnswerRe: ifstream in mfc cause strange errors in debug only Pin
Cedric Moonen18-Jul-06 7:03
Cedric Moonen18-Jul-06 7:03 
GeneralRe: ifstream in mfc cause strange errors in debug only [modified] Pin
FredrickNorge18-Jul-06 7:16
FredrickNorge18-Jul-06 7:16 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
Cedric Moonen18-Jul-06 7:25
Cedric Moonen18-Jul-06 7:25 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
FredrickNorge18-Jul-06 7:27
FredrickNorge18-Jul-06 7:27 
QuestionRe: ifstream in mfc cause strange errors in debug only Pin
David Crow18-Jul-06 8:33
David Crow18-Jul-06 8:33 
AnswerRe: ifstream in mfc cause strange errors in debug only [modified] Pin
Maxwell Chen18-Jul-06 7:58
Maxwell Chen18-Jul-06 7:58 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
FredrickNorge18-Jul-06 8:14
FredrickNorge18-Jul-06 8:14 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
Maxwell Chen18-Jul-06 8:25
Maxwell Chen18-Jul-06 8:25 
GeneralRe: ifstream in mfc cause strange errors in debug only Pin
FredrickNorge18-Jul-06 8:37
FredrickNorge18-Jul-06 8:37 
Questionmoving existing C++ code to .NET Pin
agurnani18-Jul-06 6:14
agurnani18-Jul-06 6:14 
AnswerRe: moving existing C++ code to .NET Pin
NrmMyth18-Jul-06 8:41
NrmMyth18-Jul-06 8:41 
QuestionNeed help solving a couple of problems with the CFileDialog Pin
Z.K.18-Jul-06 5:48
Z.K.18-Jul-06 5:48 
AnswerRe: Need help solving a couple of problems with the CFileDialog Pin
David Crow18-Jul-06 6:20
David Crow18-Jul-06 6:20 
Questionforcing repaint after CDC::TextOut function Pin
goodoljosh198018-Jul-06 4:57
goodoljosh198018-Jul-06 4:57 
Can someone explain to me how I get my dialog to repaint itself after I draw text on it via the CDC::TextOut command?

Here is my code that I am using for drawing the text.....

CFont Smaller_font;
Smaller_font.CreateFont(40,0,0,0,FW_NORMAL,FALSE,FALSE,FALSE,ANSI_CHARSET,
OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,
DEFAULT_PITCH | FF_DECORATIVE, "Arial");
def_font = dc.SelectObject(&Smaller_font);
dc.SetTextColor(COLORREF RGB(0,0,0));
dc.TextOut(150, 130, "Thank you.");
Smaller_font.DeleteObject();

This draws the "Thanks you" where I tell it, but if I have the program running and another window covers up the "Thank you." that I just drew, it erases it from my dialog. I am thinking that it is not forcing the repaint command somehow, but I am not sure how to force it.

Please help....Frown | :(

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.