gud day to all,
i'm new to programming in assembly language... just want to ask someone why is it that if i run an application with status bar and a rich edit control on it, i noticed that the application flickers a lot everytime i resize it. its not a big issue, just curious... tnx if somebody can mind to tell... :bg
gnewz10,
Welcome to the forum. I hope that you find the experience rewarding. Are you new to Assembly programming? Just curious. Anyway, your question has me confused. I have an editor that uses a richedit control and has a statusbar. Is this what you mean? If it is, it does not flicker on my machine.
Paul
Gnewz10,
You can process WM_ERASEBKGND in MainWndProc to prevent flickers.
For example: If you status bar and a rich edit control covered all window client region, just return TRUE for WM_ERASEBKGND message.
Paul,
thanks for the reply. Yes im new to assembly programming in windows. i never had developed any program in assembly since this year. i'm practicing for it for a month and had done a windows application that does nothing but displays itself. sorry if you get confused about my question.... i decided to make a dialog box as my main window, then put a status bar that is docked at the bottom and put a rich edit control at the center of the dialog box. then i run my dialog box and resize it continuously to cover the whole area of my desktop. i noticed that the rich edit control flickers a lot during my resizing. i guess i forgot something so that my windows application resulted to that, or something that i don't know... thanks sir paul if you mind again. i will really appreciate your reply guyz!!! :bg
weng