Click here to Skip to main content
15,942,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calculate sum of M natural numbers starting from N. Pin
Member 134789861-Nov-17 10:57
Member 134789861-Nov-17 10:57 
Question[win32] sprite error ? Pin
bluatigro1-Nov-17 3:03
bluatigro1-Nov-17 3:03 
AnswerRe: [win32] sprite error ? Pin
Richard MacCutchan1-Nov-17 3:18
mveRichard MacCutchan1-Nov-17 3:18 
AnswerRe: [win32] sprite error ? Pin
Jochen Arndt1-Nov-17 3:26
professionalJochen Arndt1-Nov-17 3:26 
AnswerRe: [win32] sprite error ? Pin
David Crow1-Nov-17 3:32
David Crow1-Nov-17 3:32 
GeneralRe: [win32] sprite error ? Pin
bluatigro2-Nov-17 0:13
bluatigro2-Nov-17 0:13 
GeneralRe: [win32] sprite error ? Pin
bluatigro2-Nov-17 1:01
bluatigro2-Nov-17 1:01 
GeneralRe: [win32] sprite error ? Pin
Richard MacCutchan2-Nov-17 1:46
mveRichard MacCutchan2-Nov-17 1:46 
I told you a week ago, you must call BeginPaint inside your WM_PAINT code. So it needs to be:
C++
    case WM_PAINT :
      hdc = BeginPaint( hwnd , &paint );

// All painting code or calls to functions that paint:
 
      EndPaint( hwnd , &paint ) ;
      break; // make sure you have a break or return after every case block

GeneralRe: [win32] sprite error ? Pin
bluatigro3-Nov-17 0:09
bluatigro3-Nov-17 0:09 
GeneralRe: [win32] sprite error ? Pin
Richard MacCutchan3-Nov-17 0:28
mveRichard MacCutchan3-Nov-17 0:28 
GeneralRe: [win32] sprite error ? Pin
bluatigro7-Nov-17 22:36
bluatigro7-Nov-17 22:36 
GeneralRe: [win32] sprite error ? Pin
Richard MacCutchan7-Nov-17 22:45
mveRichard MacCutchan7-Nov-17 22:45 
Question[win32] VR double buffering ? Pin
bluatigro31-Oct-17 4:24
bluatigro31-Oct-17 4:24 
QuestionRe: [win32] VR double buffering ? Pin
David Crow31-Oct-17 8:01
David Crow31-Oct-17 8:01 
AnswerRe: [win32] VR double buffering ? Pin
Richard MacCutchan31-Oct-17 22:40
mveRichard MacCutchan31-Oct-17 22:40 
GeneralRe: [win32] VR double buffering ? Pin
bluatigro1-Nov-17 0:37
bluatigro1-Nov-17 0:37 
GeneralRe: [win32] VR double buffering ? Pin
Richard MacCutchan1-Nov-17 1:03
mveRichard MacCutchan1-Nov-17 1:03 
SuggestionRe: [win32] VR double buffering ? Pin
David Crow1-Nov-17 3:36
David Crow1-Nov-17 3:36 
GeneralRe: [win32] VR double buffering ? Pin
bluatigro2-Nov-17 0:20
bluatigro2-Nov-17 0:20 
Questionpassing parameters to Cdialog Pin
ForNow30-Oct-17 12:11
ForNow30-Oct-17 12:11 
GeneralRe: passing parameters to Cdialog Pin
Sascha Lefèvre30-Oct-17 12:28
professionalSascha Lefèvre30-Oct-17 12:28 
GeneralRe: passing parameters to Cdialog Pin
ForNow30-Oct-17 13:13
ForNow30-Oct-17 13:13 
GeneralRe: passing parameters to Cdialog Constructer defination Pin
ForNow30-Oct-17 13:19
ForNow30-Oct-17 13:19 
QuestionRe: passing parameters to Cdialog Constructer defination Pin
David Crow31-Oct-17 2:48
David Crow31-Oct-17 2:48 
AnswerRe: passing parameters to Cdialog Constructer defination Pin
ForNow31-Oct-17 2:58
ForNow31-Oct-17 2:58 

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.