Click here to Skip to main content
15,917,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse pointer ... Pin
l a u r e n19-Feb-01 6:33
l a u r e n19-Feb-01 6:33 
GeneralRe: Mouse pointer ... Pin
19-Feb-01 9:19
suss19-Feb-01 9:19 
GeneralWM_SETCURSOR Pin
19-Feb-01 10:40
suss19-Feb-01 10:40 
QuestionMAPI in NT Service - PLEASE HELP?? Pin
Dan Madden18-Feb-01 9:37
Dan Madden18-Feb-01 9:37 
AnswerRe: MAPI in NT Service - PLEASE HELP?? Pin
l a u r e n18-Feb-01 20:00
l a u r e n18-Feb-01 20:00 
GeneralRe: MAPI in NT Service - PLEASE HELP?? Pin
Dan Madden18-Feb-01 21:30
Dan Madden18-Feb-01 21:30 
GeneralRe: MAPI in NT Service - PLEASE HELP?? Pin
8-Jun-01 6:22
suss8-Jun-01 6:22 
GeneralDrawing a CListCtrl to a MemDC Pin
Alex Deem18-Feb-01 6:26
Alex Deem18-Feb-01 6:26 
Hi guys,

i am somewhat new to GDI coding, and i am about at my wits end as to how to accomplish this....

What i want to do is have 2 CListCtrls, one on top of the other, and then animate the top one moving off (to reveal the other underneath). The top one animates out of view and all we are left with is the bottom one. I am attempting to create an effect somewhat like that in the bar on the left hand side in MS Outlook (though with CListCtrls).

My first thoughts as to how to do this nicely were to create two memory dcs and render each ListCtrl to one. Then, at regular time intervals i would BitBlt an amount from each DC to the screenDC and i would have my lovely animation Wink | ;)

I can create a memDC for the ListCtrl which is at first on the top because i can do a GetDC and then bitblt() from it. However..Confused | :confused: ...i cannot do the same for the ListCtrl which is initially hidden as its DC will be blank (it hasnt been painted). Is there anyone out there who knows how to get a window to paint itself to a given Memory DC?

Or is there anyone who has a better suggestion for creating this effect?

Any help would be greatly appreciated, thanks.

~Alex

GeneralRe: Drawing a CListCtrl to a MemDC Pin
Michael Dunn18-Feb-01 8:09
sitebuilderMichael Dunn18-Feb-01 8:09 
GeneralI need good Algourithm ... Pin
Hadi Rezaee18-Feb-01 6:23
Hadi Rezaee18-Feb-01 6:23 
GeneralRe: I need good Algourithm ... Pin
l a u r e n18-Feb-01 7:10
l a u r e n18-Feb-01 7:10 
GeneralRe: I need good Algourithm ... Pin
18-Feb-01 10:18
suss18-Feb-01 10:18 
GeneralRe: I need good Algourithm ... Pin
Christian Graus18-Feb-01 10:21
protectorChristian Graus18-Feb-01 10:21 
GeneralRe: I need good Algourithm ... Pin
Julien18-Feb-01 11:59
Julien18-Feb-01 11:59 
GeneralRe: I need good Algourithm ... Pin
Tim Deveaux19-Feb-01 10:24
Tim Deveaux19-Feb-01 10:24 
GeneralBackUp Files in VC++ Pin
Gleb18-Feb-01 0:00
Gleb18-Feb-01 0:00 
GeneralRe: BackUp Files in VC++ Pin
Christian Graus18-Feb-01 10:24
protectorChristian Graus18-Feb-01 10:24 
Generalsingleton class Pin
17-Feb-01 19:08
suss17-Feb-01 19:08 
GeneralRe: singleton class Pin
Michael Dunn17-Feb-01 19:48
sitebuilderMichael Dunn17-Feb-01 19:48 
GeneralSelf destructing exe Pin
17-Feb-01 18:18
suss17-Feb-01 18:18 
GeneralRe: Self destructing exe Pin
l a u r e n18-Feb-01 4:53
l a u r e n18-Feb-01 4:53 
GeneralRe: Self destructing exe Pin
19-Feb-01 9:03
suss19-Feb-01 9:03 
GeneralRe: clown chips Pin
l a u r e n19-Feb-01 11:04
l a u r e n19-Feb-01 11:04 
GeneralRe: Self destructing exe Pin
Jason De Arte19-Feb-01 8:23
Jason De Arte19-Feb-01 8:23 
GeneralRe: Self destructing exe Pin
19-Feb-01 9:08
suss19-Feb-01 9:08 

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.