Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Knowing the directory in which an App resides Pin
Fernando A. Gomez F.14-Sep-04 8:10
Fernando A. Gomez F.14-Sep-04 8:10 
GeneralRe: Knowing the directory in which an App resides Pin
John M. Drescher14-Sep-04 9:19
John M. Drescher14-Sep-04 9:19 
GeneralRe: Knowing the directory in which an App resides Pin
BlackDice14-Sep-04 9:36
BlackDice14-Sep-04 9:36 
GeneralRe: Knowing the directory in which an App resides Pin
David Crow14-Sep-04 9:56
David Crow14-Sep-04 9:56 
GeneralRe: Knowing the directory in which an App resides Pin
BlackDice14-Sep-04 10:20
BlackDice14-Sep-04 10:20 
GeneralRe: Knowing the directory in which an App resides Pin
David Crow14-Sep-04 10:37
David Crow14-Sep-04 10:37 
GeneralRe: Knowing the directory in which an App resides Pin
BlackDice14-Sep-04 10:40
BlackDice14-Sep-04 10:40 
Generalflicker problem in mfc continued... Pin
towd14-Sep-04 6:12
towd14-Sep-04 6:12 
Hi again,

I'm still having trouble getting rid of flicker from my MFC program (on VC++NET but started on VC++6). I am trying to "simply" display 2 alternating, monochrome bitmaps using an off-screen memory dc buffer and bitblting the reuslt. I have (I think) overriden the OnEraseBkgnd calls, returning TRUE and doing nothing else.

The thing is, I call my Paint function directly, rather than invalidating the window, so (I think) I'm bypassing the messages from being sent anyway. The flicker does not look to be the background colour being painted anyway, it seems that the two images kind of take turns in "dominating" the window. I actually display the images on a microdisplay as an input to an optical system, where a camera grabs a resulting pattern every frame (which is why I'm confident it is the images merging and not the background colour of the window being painted). The problem works itself out over a few thousand frames and then reappears periodically.

Could it be the way I'm bypassing the messages that is causing the problem or something else? Any suggestions greatly appreciated!
GeneralRe: flicker problem in mfc continued... Pin
John M. Drescher14-Sep-04 9:14
John M. Drescher14-Sep-04 9:14 
GeneralRe: flicker problem in mfc continued... Pin
towd15-Sep-04 4:22
towd15-Sep-04 4:22 
GeneralRe: flicker problem in mfc continued... Pin
Roger Allen14-Sep-04 12:18
Roger Allen14-Sep-04 12:18 
GeneralVisual studios 6 is buggin me..help Pin
IGeorgeI14-Sep-04 6:00
IGeorgeI14-Sep-04 6:00 
GeneralRe: Visual studios 6 is buggin me..help Pin
David Crow14-Sep-04 7:01
David Crow14-Sep-04 7:01 
GeneralRe: Visual studios 6 is buggin me..help Pin
Arsalan Malik14-Sep-04 18:09
Arsalan Malik14-Sep-04 18:09 
Generalparsing mpegs Pin
BlackDice14-Sep-04 5:40
BlackDice14-Sep-04 5:40 
GeneralRe: parsing mpegs Pin
vcplusplus14-Sep-04 7:30
vcplusplus14-Sep-04 7:30 
GeneralRe: parsing mpegs Pin
markkuk14-Sep-04 8:58
markkuk14-Sep-04 8:58 
GeneralRe: parsing mpegs Pin
BlackDice14-Sep-04 9:15
BlackDice14-Sep-04 9:15 
QuestionHow to determine the current IP address Pin
casid14-Sep-04 5:28
casid14-Sep-04 5:28 
AnswerRe: How to determine the current IP address Pin
David Crow14-Sep-04 7:02
David Crow14-Sep-04 7:02 
GeneralPROGRAM HELP!!!!!!! Pin
ISUstudent14-Sep-04 4:17
ISUstudent14-Sep-04 4:17 
GeneralRe: PROGRAM HELP!!!!!!! Pin
Maximilien14-Sep-04 4:34
Maximilien14-Sep-04 4:34 
GeneralRe: PROGRAM HELP!!!!!!! Pin
Cedric Moonen14-Sep-04 4:53
Cedric Moonen14-Sep-04 4:53 
GeneralRe: PROGRAM HELP!!!!!!! Pin
Cedric Moonen14-Sep-04 4:38
Cedric Moonen14-Sep-04 4:38 
GeneralRe: PROGRAM HELP!!!!!!! Pin
Hardy_Smith14-Sep-04 4:38
Hardy_Smith14-Sep-04 4:38 

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.