Click here to Skip to main content
15,917,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to append a text in a edit box Pin
David Crow23-Oct-03 3:38
David Crow23-Oct-03 3:38 
GeneralTaskbar Button in Dialog Based Application Pin
Thanasis Pantelopoulos22-Oct-03 23:50
Thanasis Pantelopoulos22-Oct-03 23:50 
GeneralRe: Taskbar Button in Dialog Based Application Pin
Thanasis Pantelopoulos23-Oct-03 2:46
Thanasis Pantelopoulos23-Oct-03 2:46 
GeneralRe: Taskbar Button in Dialog Based Application Pin
Maximilien23-Oct-03 4:16
Maximilien23-Oct-03 4:16 
GeneralRe: Taskbar Button in Dialog Based Application Pin
Atlantys23-Oct-03 12:06
Atlantys23-Oct-03 12:06 
GeneralConsole Pin
hph22-Oct-03 22:58
hph22-Oct-03 22:58 
GeneralRe: Console Pin
valikac23-Oct-03 5:56
valikac23-Oct-03 5:56 
QuestionOpenGL animation, which is better: using PFD_DOUBLEBUFFER or Drawing to DIB? Pin
lxy22-Oct-03 21:47
lxy22-Oct-03 21:47 
I'm beginning to program OpenGL animation, there are two ways to select.

The first is to set PFD_DOUBLEBUFFER flag, in CMyView::OnDraw(CDC *pDC), use SwapBuffer() to show the image, as almost all tutoral said.

The second is to create a DIB using CreateDIBSection(), select it to MemDC, then using wglMakeCurrent() to connect the existed RC with MemDC, thus all the OpenGL commands will draw to the DIB. in OnDraw(), only BitBlt() the DIB to pDC.

In my old machine, which is PII / 128M memory / Savage3D display card, method 2 seems more smooth than method 1.
But I'm afraid, if using the display card with OpenGL supporting and optimizing, method 2 will not be able to take the advantage of the computing ability of the hardware, then method 1 will be quicker and smoother than method 2?

Another puzzle is DOUBLEBUFFER also first draw to main memory (not relate to display chips?), only after drawing finished, the result is shown (copy to display memory).
Is it means that it doesn't / cannot use the calculating ability of the display chips?
AnswerAnyone know? Pin
lxy23-Oct-03 16:23
lxy23-Oct-03 16:23 
Questionhow to make a dialog under the main window? Pin
Jefferson Liu22-Oct-03 21:30
Jefferson Liu22-Oct-03 21:30 
AnswerRe: how to make a dialog under the main window? Pin
Ravi Bhavnani22-Oct-03 21:41
professionalRavi Bhavnani22-Oct-03 21:41 
GeneralRe: how to make a dialog under the main window? Pin
Atif Mushtaq22-Oct-03 23:03
Atif Mushtaq22-Oct-03 23:03 
AnswerRe: how to make a dialog under the main window? Pin
Anthony_Yio22-Oct-03 22:08
Anthony_Yio22-Oct-03 22:08 
Generalprint UCS2 character Pin
convert_sg22-Oct-03 21:23
convert_sg22-Oct-03 21:23 
GeneralRe: print UCS2 character Pin
Ravi Bhavnani22-Oct-03 21:42
professionalRavi Bhavnani22-Oct-03 21:42 
GeneralA question for the GURUs Pin
Anonymous22-Oct-03 21:20
Anonymous22-Oct-03 21:20 
GeneralRe: A question for the GURUs Pin
antlers23-Oct-03 8:21
antlers23-Oct-03 8:21 
GeneralGPS Pin
abc87622-Oct-03 21:02
abc87622-Oct-03 21:02 
GeneralRe: GPS Pin
Ted Ferenc22-Oct-03 21:49
Ted Ferenc22-Oct-03 21:49 
Generalregex Pin
xiaoxsql22-Oct-03 19:05
xiaoxsql22-Oct-03 19:05 
Generalabout voice chat between a client and a server Pin
yingkou22-Oct-03 19:00
yingkou22-Oct-03 19:00 
GeneralRe: about voice chat between a client and a server Pin
Atif Mushtaq22-Oct-03 21:22
Atif Mushtaq22-Oct-03 21:22 
GeneralRe: about voice chat between a client and a server Pin
yingkou24-Oct-03 20:01
yingkou24-Oct-03 20:01 
GeneralRestrict window space for child process Pin
paulb22-Oct-03 19:00
paulb22-Oct-03 19:00 
GeneralRe: Restrict window space for child process Pin
Ravi Bhavnani22-Oct-03 21:06
professionalRavi Bhavnani22-Oct-03 21:06 

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.