Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web services question... Pin
Manster15-Apr-04 4:02
Manster15-Apr-04 4:02 
Generalmultiple entries in Add/Remove Programs Pin
econnor14-Apr-04 8:58
econnor14-Apr-04 8:58 
GeneralRe: multiple entries in Add/Remove Programs Pin
Heath Stewart14-Apr-04 9:03
protectorHeath Stewart14-Apr-04 9:03 
GeneralP/Invoke Pin
Dominik Reichl14-Apr-04 6:58
Dominik Reichl14-Apr-04 6:58 
GeneralRe: P/Invoke Pin
Heath Stewart14-Apr-04 7:41
protectorHeath Stewart14-Apr-04 7:41 
Generalconvert unicode to ascii Pin
eranas14-Apr-04 6:57
eranas14-Apr-04 6:57 
GeneralRe: convert unicode to ascii Pin
Heath Stewart14-Apr-04 7:24
protectorHeath Stewart14-Apr-04 7:24 
GeneralScrolling and background image Pin
Flack14-Apr-04 6:53
Flack14-Apr-04 6:53 
Hello,

What I want to do is have a background image on my tabpage that does not move when the tabpage's scrollbar is moved.

Right now what I am doing is in the tabpage's paint method I am drawing the bitmap:
pe.Graphics.DrawImage(bmpTabBack,0,0);

I have overriden WndProc and when I get a WM_VSCROLL message I do:
Invalidate(false);<br />
			Update();


This does keep the background image in one place but there is some flickering if you move the scrollbar up/down really fast.

Is there another method that I can use to make it so that the background image never moves and there is no flickering?

Thanx for the help,
-Flack
GeneralRe: Scrolling and background image Pin
Heath Stewart14-Apr-04 7:26
protectorHeath Stewart14-Apr-04 7:26 
GeneralMultiple Forms\Views Pin
SanShou14-Apr-04 6:17
SanShou14-Apr-04 6:17 
GeneralRe: Multiple Forms\Views Pin
CWIZO14-Apr-04 6:42
CWIZO14-Apr-04 6:42 
GeneralRe: Multiple Forms\Views Pin
14-Apr-04 8:17
suss14-Apr-04 8:17 
GeneralDistributing Application Pin
Jason Pyke14-Apr-04 5:57
Jason Pyke14-Apr-04 5:57 
GeneralRe: Distributing Application Pin
Heath Stewart14-Apr-04 7:31
protectorHeath Stewart14-Apr-04 7:31 
GeneralRe: Distributing Application Pin
Anonymous14-Apr-04 8:40
Anonymous14-Apr-04 8:40 
Generalprint a .tiff file Pin
cmarmr14-Apr-04 5:06
cmarmr14-Apr-04 5:06 
GeneralRe: print a .tiff file Pin
Mazdak14-Apr-04 6:05
Mazdak14-Apr-04 6:05 
GeneralEncrypting text data to a file Pin
Jon G14-Apr-04 4:20
Jon G14-Apr-04 4:20 
GeneralRe: Encrypting text data to a file Pin
Heath Stewart14-Apr-04 4:30
protectorHeath Stewart14-Apr-04 4:30 
GeneralGUI design the way forward for MS Pin
Andy H14-Apr-04 4:07
Andy H14-Apr-04 4:07 
GeneralRe: GUI design the way forward for MS Pin
Heath Stewart14-Apr-04 4:16
protectorHeath Stewart14-Apr-04 4:16 
GeneralRe: GUI design the way forward for MS Pin
hxxbin14-Apr-04 4:21
hxxbin14-Apr-04 4:21 
GeneralRe: GUI design the way forward for MS Pin
Judah Gabriel Himango14-Apr-04 5:48
sponsorJudah Gabriel Himango14-Apr-04 5:48 
GeneralRe: GUI design the way forward for MS Pin
Michael P Butler14-Apr-04 22:41
Michael P Butler14-Apr-04 22:41 
GeneralDatabindings Pin
bertcox14-Apr-04 3:30
bertcox14-Apr-04 3:30 

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.