Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Hmmm that should work.

Maybe try forcing styles identical to your non-MFC version by calling
the base class PreCreateWindow() FIRST, then overwrite the style and exstyle
with your values, something like:
BOOL CMyProgView::PreCreateWindow(CREATESTRUCT& cs)
{
   if (CScrollView::PreCreateWindow(cs))
   {
      cs.style <font color="Red">=</font> WS_CHILD;
      cs.dwExStyle <font color="Red">=</font> WS_EX_COMPOSITED;
      return TRUE;
   }

   return FALSE;
}

How are you forcing it to draw so you see flicker?  During resizing?  With a timer?


If that doesn't work, note that the default CScrollView window class style has CS_HREDRAW | CS_VREDRAW
set...I don't know if that effects this at all.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

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 
AnswerRe: Convert Problem CString to double Pin
Chris Losinger18-Sep-07 7:12
professionalChris Losinger18-Sep-07 7:12 
AnswerRe: Convert Problem CString to double Pin
Maximilien18-Sep-07 7:13
Maximilien18-Sep-07 7:13 
AnswerRe: Convert Problem CString to double [modified] Pin
DevMentor.org18-Sep-07 8:08
DevMentor.org18-Sep-07 8:08 

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.