Click here to Skip to main content
15,921,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: is it possible to read the output from exe file in c++ Pin
Like2Byte18-Sep-07 10:28
Like2Byte18-Sep-07 10:28 
AnswerRe: is it possible to read the output from exe file in c++ Pin
David Crow18-Sep-07 11:15
David Crow18-Sep-07 11:15 
GeneralRe: is it possible to read the output from exe file in c++ Pin
Wajid Ali19-Sep-07 11:08
Wajid Ali19-Sep-07 11:08 
AnswerRe: is it possible to read the output from exe file in c++ Pin
nbugalia18-Sep-07 19:11
nbugalia18-Sep-07 19:11 
QuestionPASTE Operator Question Pin
Like2Byte18-Sep-07 9:40
Like2Byte18-Sep-07 9:40 
QuestionWS_EX_COMPOSITED Pin
Californian218-Sep-07 8:11
Californian218-Sep-07 8:11 
AnswerRe: WS_EX_COMPOSITED Pin
Mark Salsbery18-Sep-07 8:49
Mark Salsbery18-Sep-07 8:49 
GeneralRe: WS_EX_COMPOSITED Pin
Californian218-Sep-07 9:25
Californian218-Sep-07 9:25 
Hi,

Thanks. Actually, I have already read up on that, and have no problem with WS_EX_COMPOSITED when not using MFC. However, I am not seeing the expected results when I use WS_EX_COMPOSITED with MFC. I am overriding the PreCreateWindow method for a View in a MDI Doc/View application:

BOOL CMyProgView::PreCreateWindow(CREATESTRUCT& cs)
{
cs.dwExStyle &= WS_EX_COMPOSITED;

return CScrollView::PreCreateWindow(cs);
}

but I still get flickering when I draw the window by overriding the OnDraw method. In OnDraw, I'm using a GDI+ Graphics object, and I use the Graphics::Clear method before doing my drawing. There is no flickering when NOT using MFC, even using Graphics::Clear, if the WS_EX_COMPOSITED window style is used.

I thought maybe MFC was using some conflicting window styles, but don't know. Just wondered if something more was required, such as changing some other window style(s) to be compatible with WS_EX_COMPOSITED, or something like that.

Thanks again.

Confused | :confused:

GeneralRe: WS_EX_COMPOSITED Pin
Mark Salsbery18-Sep-07 9:38
Mark Salsbery18-Sep-07 9:38 
GeneralRe: WS_EX_COMPOSITED Pin
Californian218-Sep-07 10:03
Californian218-Sep-07 10:03 
GeneralRe: WS_EX_COMPOSITED Pin
Mark Salsbery18-Sep-07 10:19
Mark Salsbery18-Sep-07 10:19 
GeneralRe: WS_EX_COMPOSITED [modified] Pin
Californian219-Sep-07 6:06
Californian219-Sep-07 6:06 
Questiondata types conversion Pin
shpid3r18-Sep-07 7:56
shpid3r18-Sep-07 7:56 
AnswerRe: data types conversion Pin
DevMentor.org18-Sep-07 8:02
DevMentor.org18-Sep-07 8:02 
QuestionRe: data types conversion Pin
shpid3r18-Sep-07 8:34
shpid3r18-Sep-07 8:34 
AnswerRe: data types conversion Pin
DevMentor.org18-Sep-07 8:43
DevMentor.org18-Sep-07 8:43 
GeneralRe: data types conversion Pin
shpid3r18-Sep-07 9:04
shpid3r18-Sep-07 9:04 
QuestionRe: data types conversion Pin
shpid3r18-Sep-07 9:11
shpid3r18-Sep-07 9:11 
GeneralRe: data types conversion Pin
DevMentor.org18-Sep-07 9:30
DevMentor.org18-Sep-07 9:30 
AnswerDWORD Solved. How about double and SYSTEMTIME [modified] Pin
shpid3r19-Sep-07 0:29
shpid3r19-Sep-07 0:29 
GeneralRe: DWORD Solved. How about double and SYSTEMTIME Pin
DevMentor.org19-Sep-07 8:52
DevMentor.org19-Sep-07 8:52 
AnswerAll Issues Solved. 10x for support Pin
shpid3r19-Sep-07 10:53
shpid3r19-Sep-07 10:53 
QuestionUsing Emoticons(Smilies) in Rich Text Box Pin
ddspliting18-Sep-07 7:23
ddspliting18-Sep-07 7:23 
AnswerRe: Using Emoticons(Smilies) in Rich Text Box Pin
Nathan Holt at EMOM18-Sep-07 7:35
Nathan Holt at EMOM18-Sep-07 7:35 
QuestionConvert Problem CString to double Pin
Andy20218-Sep-07 7:03
Andy20218-Sep-07 7: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.