Click here to Skip to main content
15,914,780 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help on Property Sheets/Pages Pin
Ray Hayes22-Aug-01 23:20
Ray Hayes22-Aug-01 23:20 
GeneralEmbedding A Word Doc On A Dialog Pin
AJ12322-Aug-01 0:15
AJ12322-Aug-01 0:15 
GeneralTAPI problem Pin
Sandeep Shetty22-Aug-01 0:05
Sandeep Shetty22-Aug-01 0:05 
GeneralNewbie Q. Updating of window client area Pin
22-Aug-01 0:03
suss22-Aug-01 0:03 
GeneralRe: Newbie Q. Updating of window client area Pin
Tomasz Sowinski22-Aug-01 0:30
Tomasz Sowinski22-Aug-01 0:30 
GeneralRe: Newbie Q. Updating of window client area Pin
22-Aug-01 3:13
suss22-Aug-01 3:13 
GeneralRe: Newbie Q. Updating of window client area Pin
22-Aug-01 3:23
suss22-Aug-01 3:23 
GeneralRe: Newbie Q. Updating of window client area Pin
Tomasz Sowinski22-Aug-01 3:24
Tomasz Sowinski22-Aug-01 3:24 
You need two objects:
1) a memory device context (use CreateCompatibleDC)
2) a bitmap (use CreateCompatibleBitmap and pass the same DC as the one passed to CreateCompatibleDC as 1st arg)

You should select a bitmap into memory DC, draw the pixels. In OnPaint handler just BitBlt from memory DC to CPaintDC.

All this stuff is encapsulated by CMemDC class available right here on CodeProject. Give yourselft a favor and search for this.

Tomasz Sowinski -- http://www.shooltz.com
GeneralDirectShow problem..(compression filter) Pin
Kim,Sung-Gyoo21-Aug-01 23:43
Kim,Sung-Gyoo21-Aug-01 23:43 
Generalterminate running exe file Pin
Daed21-Aug-01 23:39
Daed21-Aug-01 23:39 
GeneralRe: terminate running exe file Pin
22-Aug-01 3:01
suss22-Aug-01 3:01 
GeneralRe: terminate running exe file Pin
22-Aug-01 9:28
suss22-Aug-01 9:28 
GeneralConnecting to the database ... Pin
Hadi Rezaee21-Aug-01 23:02
Hadi Rezaee21-Aug-01 23:02 
GeneralSplit and Combine channels in Bitmap Pin
Paul Selormey21-Aug-01 22:52
Paul Selormey21-Aug-01 22:52 
GeneralRe: Split and Combine channels in Bitmap Pin
Christian Graus22-Aug-01 12:57
protectorChristian Graus22-Aug-01 12:57 
GeneralRe: Split and Combine channels in Bitmap Pin
Paul Selormey22-Aug-01 14:57
Paul Selormey22-Aug-01 14:57 
GeneralRe: Split and Combine channels in Bitmap Pin
Christian Graus22-Aug-01 15:00
protectorChristian Graus22-Aug-01 15:00 
GeneralRe: Split and Combine channels in Bitmap Pin
Paul Selormey22-Aug-01 15:07
Paul Selormey22-Aug-01 15:07 
GeneralRe: Split and Combine channels in Bitmap Pin
Chris Losinger22-Aug-01 15:31
professionalChris Losinger22-Aug-01 15:31 
GeneralRe: Split and Combine channels in Bitmap Pin
Paul Selormey22-Aug-01 18:51
Paul Selormey22-Aug-01 18:51 
GeneralRe: Split and Combine channels in Bitmap Pin
Christian Graus23-Aug-01 12:58
protectorChristian Graus23-Aug-01 12:58 
GeneralRe: Split and Combine channels in Bitmap Pin
Tommy H D Svensson4-Sep-01 3:09
Tommy H D Svensson4-Sep-01 3:09 
GeneralA Simple Question about File Status Pin
Maer72721-Aug-01 22:33
Maer72721-Aug-01 22:33 
GeneralRe: A Simple Question about File Status Pin
Per21-Aug-01 23:58
Per21-Aug-01 23:58 
GeneralRe: A Simple Question about File Status Pin
Maer72722-Aug-01 6:28
Maer72722-Aug-01 6:28 

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.