Click here to Skip to main content
15,925,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTansparent Rectangle Pin
nripun7-Mar-05 1:35
nripun7-Mar-05 1:35 
GeneralRe: Tansparent Rectangle Pin
Roger Allen7-Mar-05 1:48
Roger Allen7-Mar-05 1:48 
GeneralRe: Tansparent Rectangle Pin
nripun7-Mar-05 2:10
nripun7-Mar-05 2:10 
GeneralRe: Tansparent Rectangle Pin
basementman7-Mar-05 7:48
basementman7-Mar-05 7:48 
GeneralTranslation applications in other language Pin
cosmyn117-Mar-05 1:04
cosmyn117-Mar-05 1:04 
GeneralDirectShow Pin
Anonymous7-Mar-05 0:55
Anonymous7-Mar-05 0:55 
GeneralVideo For Windows - CODECS Pin
Jay Carter7-Mar-05 0:40
Jay Carter7-Mar-05 0:40 
Generaltext flicker using bitblt Pin
ThinkingPrometheus6-Mar-05 23:55
ThinkingPrometheus6-Mar-05 23:55 
hiho@ll

1. i'm using a CStatic to move text left to right bounds of the static control
2. i can set the speed of the text movement through a float variable called n (move text n pixels)

my problem:

i'm using bitblt to copy the text (the whole area) to the screen
if the mouse cursor is above the static control i slow down text movement

if the movement is fast it dosen't flicker

but if the text movement is slow only the text begins to flicker!?

slow text movement is like, moving the text very few pixels in a direction during a bigger time interval (i mean like move it 0.3 pixels every 30 milliseconds)

i also looked at the article of Keith Rule lnk[^]

and maybe it's a problem with my eyes, but in Keith Rule's example the pixels flicker sometimes a little bit?

i think that's why my text flickers if it's too slow

what's interesting too, is that my background of the text which is a image doesn't flicker
i think because it's always the same, and the text changes it's position

anoyone knows a workaround?

hmm *thinking*
is there a way, to only draw the text, without overdraw it with the background to erase it?

i do:
1. draw background
2. draw text
3. bitblt

but programming a method which only erases the text will be too slow!?

thx@ll
Generalchanging FormView at Runtime Pin
drai6-Mar-05 22:56
drai6-Mar-05 22:56 
GeneralRe: changing FormView at Runtime Pin
Michael P Butler6-Mar-05 23:16
Michael P Butler6-Mar-05 23:16 
GeneralRe: changing FormView at Runtime Pin
drai7-Mar-05 12:40
drai7-Mar-05 12:40 
Generalwindows user id Pin
densitet6-Mar-05 22:43
densitet6-Mar-05 22:43 
GeneralRe: windows user id Pin
David Crow7-Mar-05 10:47
David Crow7-Mar-05 10:47 
GeneralFile Management Pin
densitet6-Mar-05 22:18
densitet6-Mar-05 22:18 
GeneralRe: File Management Pin
David Crow7-Mar-05 10:49
David Crow7-Mar-05 10:49 
GeneralRe: File Management Pin
densitet7-Mar-05 23:29
densitet7-Mar-05 23:29 
GeneralRe: File Management Pin
David Crow8-Mar-05 2:16
David Crow8-Mar-05 2:16 
GeneralRe: File Management Pin
densitet8-Mar-05 4:23
densitet8-Mar-05 4:23 
GeneralRe: File Management Pin
David Crow8-Mar-05 4:45
David Crow8-Mar-05 4:45 
Generalcompare current date with listed date Pin
shaans6-Mar-05 21:32
shaans6-Mar-05 21:32 
GeneralRe: compare current date with listed date Pin
ThatsAlok7-Mar-05 2:15
ThatsAlok7-Mar-05 2:15 
GeneralRe: compare current date with listed date Pin
shaans7-Mar-05 16:39
shaans7-Mar-05 16:39 
GeneralRe: compare current date with listed date Pin
ThatsAlok7-Mar-05 18:27
ThatsAlok7-Mar-05 18:27 
Generaltwo digits in edit control Pin
Musen806-Mar-05 20:51
Musen806-Mar-05 20:51 
GeneralRe: two digits in edit control Pin
Cedric Moonen6-Mar-05 21:30
Cedric Moonen6-Mar-05 21: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.