Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help... Pin
Member 43741223-Jun-03 5:14
Member 43741223-Jun-03 5:14 
GeneralHELP Pin
NiNa0317-Jun-03 7:36
NiNa0317-Jun-03 7:36 
GeneralRe: HELP Pin
Daniel Turini17-Jun-03 7:58
Daniel Turini17-Jun-03 7:58 
GeneralFourCC's Pin
nfactorial17-Jun-03 7:26
nfactorial17-Jun-03 7:26 
GeneralRe: FourCC's Pin
leppie17-Jun-03 7:45
leppie17-Jun-03 7:45 
GeneralRe: FourCC's Pin
nfactorial17-Jun-03 23:01
nfactorial17-Jun-03 23:01 
GeneralFlickering Pin
Rohde17-Jun-03 6:39
Rohde17-Jun-03 6:39 
GeneralRe: Flickering Pin
John Fisher17-Jun-03 7:31
John Fisher17-Jun-03 7:31 
I'm not sure that this would really be desirable for other reasons, but you could try the following:

Don't do any painting inside the normal paint handler. Instead, create a bitmap (which you'll need to resize along with the window size). Set that bitmap as the background image. Then, redraw the bitmap and call Invalidate() when the content changes. The rest of the time, the window should handle redrawing from the bitmap and avoid some of the flickering.


John

"We want to be alone when we hear too many words and we feel alone when it has been a while since anyone has spoken to us." Paul David Tripp -- War of Words

GeneralWin32 API pointer question Pin
albean17-Jun-03 5:44
albean17-Jun-03 5:44 
GeneralRe: Win32 API pointer question Pin
John Fisher17-Jun-03 7:35
John Fisher17-Jun-03 7:35 
GeneralRe: Win32 API pointer question Pin
J. Dunlap17-Jun-03 8:19
J. Dunlap17-Jun-03 8:19 
GeneralRe: Win32 API pointer question Pin
albean17-Jun-03 15:31
albean17-Jun-03 15:31 
GeneralRe: Win32 API pointer question Pin
J. Dunlap17-Jun-03 15:35
J. Dunlap17-Jun-03 15:35 
GeneralMessage Handler Pin
JorcanFyn17-Jun-03 5:35
JorcanFyn17-Jun-03 5:35 
GeneralRe: Message Handler Pin
albean17-Jun-03 5:55
albean17-Jun-03 5:55 
GeneralRe: Message Handler Pin
JorcanFyn17-Jun-03 6:03
JorcanFyn17-Jun-03 6:03 
GeneralDraw in the title of a form Pin
STW17-Jun-03 5:11
STW17-Jun-03 5:11 
GeneralRe: Draw in the title of a form Pin
Dimitris Iliopoulos17-Jun-03 13:42
Dimitris Iliopoulos17-Jun-03 13:42 
GeneralMajor Error Needing Major Help!!! Pin
jesus4u17-Jun-03 4:47
jesus4u17-Jun-03 4:47 
GeneralRe: Major Error Needing Major Help!!! Pin
Dimitris Iliopoulos17-Jun-03 13:46
Dimitris Iliopoulos17-Jun-03 13:46 
GeneralReturning all fields in a database Pin
.gonad17-Jun-03 4:25
.gonad17-Jun-03 4:25 
GeneralRe: Returning all fields in a database Pin
.gonad17-Jun-03 6:56
.gonad17-Jun-03 6:56 
GeneralRe: Marshalling Pin
firat kocak17-Jun-03 3:21
firat kocak17-Jun-03 3:21 
GeneralRe: Marshalling Pin
firat kocak17-Jun-03 3:58
firat kocak17-Jun-03 3:58 
GeneralRe: Marshalling Pin
firat kocak17-Jun-03 4:46
firat kocak17-Jun-03 4:46 

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.