Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMFC question Pin
User 988527-Mar-02 12:16
User 988527-Mar-02 12:16 
GeneralRe: MFC question Pin
Tim Deveaux27-Mar-02 12:55
Tim Deveaux27-Mar-02 12:55 
GeneralRe: MFC question Pin
User 988527-Mar-02 13:05
User 988527-Mar-02 13:05 
GeneralRe: MFC question Pin
Paul M Watt27-Mar-02 13:26
mentorPaul M Watt27-Mar-02 13:26 
GeneralRe: MFC question Pin
User 988527-Mar-02 13:35
User 988527-Mar-02 13:35 
GeneralRe: MFC question Pin
Christian Graus27-Mar-02 15:26
protectorChristian Graus27-Mar-02 15:26 
GeneralRe: MFC question Pin
Neville Franks31-Mar-02 0:09
Neville Franks31-Mar-02 0:09 
GeneralA few drawing woes. Pin
soup27-Mar-02 12:09
soup27-Mar-02 12:09 
Hi,

I have 2 GDI drawing problems and I was hoping you guys could help me out.

1. I have several bitmaps (8x8, 16x16 and 32x32) that I use in PatBlt to set the background of my view to mimic zooming. Everything else is drawn on top. The 8x8 and 16x16 bitmaps tile the background perfectly. However, the 32x32 doesn't work at all! Instead the back of the view is completely corrupted (almost like returning FALSE from OnEraseBkGrnd and whizzing windows over it).

Anyone know if PatBlt has a limit on the size of the bitmap it can use or what the problem might be?

2. I implemented the double buffering ideas put about on this and other sites to draw to an offscreen buffer and then blit it back to remove flicker. However, when I resize the window or my view is redrawn, the flicker is as bad as normal.

According to the examples, I'm not missing anything, so what might have I done wrong?

Thanks for any help,

Simon
GeneralRe: A few drawing woes. Pin
Paul M Watt27-Mar-02 13:12
mentorPaul M Watt27-Mar-02 13:12 
GeneralRe: A few drawing woes. Pin
alex.barylski27-Mar-02 18:23
alex.barylski27-Mar-02 18:23 
GeneralRe: A few drawing woes. Pin
soup28-Mar-02 5:28
soup28-Mar-02 5:28 
GeneralRe: A few drawing woes. Pin
alex.barylski28-Mar-02 5:44
alex.barylski28-Mar-02 5:44 
General"Controlling" a laptop from my desktop Pin
svoida27-Mar-02 12:00
svoida27-Mar-02 12:00 
GeneralRe: "Controlling" a laptop from my desktop Pin
Paul M Watt27-Mar-02 13:39
mentorPaul M Watt27-Mar-02 13:39 
GeneralRe: "Controlling" a laptop from my desktop Pin
Ravi Bhavnani28-Mar-02 6:51
professionalRavi Bhavnani28-Mar-02 6:51 
GeneralBinary Behavior Pin
Gerosa27-Mar-02 10:05
Gerosa27-Mar-02 10:05 
GeneralRe: Binary Behavior Pin
Maximilien27-Mar-02 11:12
Maximilien27-Mar-02 11:12 
GeneralRe: Binary Behavior Pin
Gerosa28-Mar-02 6:21
Gerosa28-Mar-02 6:21 
GeneralDialogs Pin
Tzoockee27-Mar-02 10:06
Tzoockee27-Mar-02 10:06 
GeneralRe: Dialogs Pin
Christian Graus27-Mar-02 10:12
protectorChristian Graus27-Mar-02 10:12 
GeneralRe: Dialogs Pin
lucy27-Mar-02 10:08
lucy27-Mar-02 10:08 
GeneralRe: Dialogs Pin
Tomasz Sowinski27-Mar-02 10:31
Tomasz Sowinski27-Mar-02 10:31 
GeneralRe: Dialogs Pin
Christian Graus27-Mar-02 10:12
protectorChristian Graus27-Mar-02 10:12 
GeneralRe: Dialogs Pin
Nish Nishant27-Mar-02 13:45
sitebuilderNish Nishant27-Mar-02 13:45 
QuestionWin API equivalent of cin? Pin
thx27-Mar-02 10:02
thx27-Mar-02 10:02 

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.