Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL problem Pin
ThatsAlok1-Oct-04 18:30
ThatsAlok1-Oct-04 18:30 
GeneralRe: DLL problem Pin
Larsson1-Oct-04 22:16
Larsson1-Oct-04 22:16 
General#define style templates and float Pin
J.B.1-Oct-04 9:15
J.B.1-Oct-04 9:15 
GeneralRe: #define style templates and float Pin
David Crow1-Oct-04 9:35
David Crow1-Oct-04 9:35 
GeneralRe: #define style templates and float Pin
vcplusplus1-Oct-04 10:26
vcplusplus1-Oct-04 10:26 
GeneralRe: #define style templates and float Pin
J.B.1-Oct-04 19:46
J.B.1-Oct-04 19:46 
QuestionHow slow is GDI? Pin
Budric B.1-Oct-04 6:13
Budric B.1-Oct-04 6:13 
AnswerRe: How slow is GDI? Pin
Nathan Holt at EMOM1-Oct-04 6:29
Nathan Holt at EMOM1-Oct-04 6:29 
Budric B. wrote:
The problem is that when I change the image being displayed (by changing some pointers to another image and just calling CxImage::Draw() on a different image in OnPaint()) there's a flicker as the images change. It's not that much and when the image is displayed it looks ok, but while the images change there's visible flicker. Is this due to how slow GDI is, or something I'm not doing correctly?

The flicker comes from automatically erasing the window. That's easily solved. You just have to handle the WM_ERASEBACKGROUND message and return true without erasing.

Nathan Holt
GeneralRe: That did it! Pin
Budric B.1-Oct-04 6:48
Budric B.1-Oct-04 6:48 
GeneralRe: Movie playing software Pin
Nathan Holt at EMOM1-Oct-04 7:05
Nathan Holt at EMOM1-Oct-04 7:05 
GeneralChanging window shapes and colors Pin
V.G1-Oct-04 5:31
V.G1-Oct-04 5:31 
GeneralRe: Changing window shapes and colors Pin
BlackDice1-Oct-04 6:35
BlackDice1-Oct-04 6:35 
GeneralRe: Changing window shapes and colors Pin
V.G1-Oct-04 7:17
V.G1-Oct-04 7:17 
GeneralRe: Changing window shapes and colors Pin
BlackDice1-Oct-04 8:25
BlackDice1-Oct-04 8:25 
GeneralLinking issues Pin
JensB1-Oct-04 4:21
JensB1-Oct-04 4:21 
GeneralRe: Linking issues Pin
valikac1-Oct-04 5:32
valikac1-Oct-04 5:32 
GeneralRe: Linking issues Pin
Anonymous2-Oct-04 12:07
Anonymous2-Oct-04 12:07 
Generaltemplate as a friend? (Expert question:) Pin
Boniolopez1-Oct-04 3:59
Boniolopez1-Oct-04 3:59 
GeneralRe: template as a friend? (Expert question:) Pin
valikac1-Oct-04 5:36
valikac1-Oct-04 5:36 
Generalany borland helpers Pin
porac691-Oct-04 2:47
porac691-Oct-04 2:47 
GeneralRe: any borland helpers Pin
Antony M Kancidrowski1-Oct-04 4:51
Antony M Kancidrowski1-Oct-04 4:51 
GeneralRe: any borland helpers Pin
porac691-Oct-04 5:24
porac691-Oct-04 5:24 
GeneralRe: any borland helpers Pin
David Crow1-Oct-04 5:49
David Crow1-Oct-04 5:49 
GeneralRe: any borland helpers Pin
porac691-Oct-04 6:12
porac691-Oct-04 6:12 
GeneralRe: any borland helpers Pin
porac692-Oct-04 11:16
porac692-Oct-04 11:16 

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.