Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to find the number of files in a folder Pin
Joe Woodbury18-Sep-08 10:38
professionalJoe Woodbury18-Sep-08 10:38 
AnswerRe: How to find the number of files in a folder Pin
Michael Schubert18-Sep-08 1:52
Michael Schubert18-Sep-08 1:52 
QuestionBitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
JuriB18-Sep-08 1:27
JuriB18-Sep-08 1:27 
QuestionRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
Mark Salsbery18-Sep-08 4:01
Mark Salsbery18-Sep-08 4:01 
AnswerRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
JuriB18-Sep-08 4:23
JuriB18-Sep-08 4:23 
QuestionRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
Mark Salsbery18-Sep-08 4:44
Mark Salsbery18-Sep-08 4:44 
AnswerRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) [modified] Pin
JuriB18-Sep-08 5:18
JuriB18-Sep-08 5:18 
GeneralRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
Mark Salsbery18-Sep-08 5:43
Mark Salsbery18-Sep-08 5:43 
JuriB wrote:
I suspect you want me to use the CreateCompatibleBitmap(pDC,...)


If you're going to use a device dependent bitmap, then yes,
it HAS to be compatible with the device. If you choose to use
CreateCompatibleBitmap(), make sure you use the paint DC, not
the compatible DC (otherwise you'll get a monochrome bitmap).

For an alternative, use a DIBsection bitmap instead of a DDB.
You can select a DIBSection into a non-compatible DC.
For a DIBSection, use the CImage class instead of CBitmap.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
JuriB18-Sep-08 23:54
JuriB18-Sep-08 23:54 
GeneralRe: Bitmap drawn via BitBlt not visible over Remote Desktop (WinXP) Pin
Mark Salsbery19-Sep-08 5:21
Mark Salsbery19-Sep-08 5:21 
QuestionCEGUI Pin
T.RATHA KRISHNAN18-Sep-08 0:32
T.RATHA KRISHNAN18-Sep-08 0:32 
AnswerRe: CEGUI Pin
Hamid_RT18-Sep-08 1:58
Hamid_RT18-Sep-08 1:58 
Questionunresolved external symbol error in VS 2008 (vc9) Pin
MKC00218-Sep-08 0:21
MKC00218-Sep-08 0:21 
AnswerRe: unresolved external symbol error in VS 2008 (vc9) Pin
KarstenK18-Sep-08 2:09
mveKarstenK18-Sep-08 2:09 
GeneralRe: unresolved external symbol error in VS 2008 (vc9) Pin
MKC00218-Sep-08 3:45
MKC00218-Sep-08 3:45 
AnswerRe: unresolved external symbol error in VS 2008 (vc9) Pin
Mark Salsbery18-Sep-08 4:04
Mark Salsbery18-Sep-08 4:04 
GeneralRe: unresolved external symbol error in VS 2008 (vc9) Pin
MKC00218-Sep-08 21:10
MKC00218-Sep-08 21:10 
QuestionRe: unresolved external symbol error in VS 2008 (vc9) Pin
Mark Salsbery19-Sep-08 5:43
Mark Salsbery19-Sep-08 5:43 
AnswerRe: unresolved external symbol error in VS 2008 (vc9) Pin
MKC00221-Sep-08 21:36
MKC00221-Sep-08 21:36 
QuestionReading larg File Issue Pin
VC_RYK18-Sep-08 0:19
VC_RYK18-Sep-08 0:19 
AnswerRe: Reading larg File Issue Pin
Joseph Marzbani18-Sep-08 0:32
Joseph Marzbani18-Sep-08 0:32 
GeneralRe: Reading larg File Issue Pin
VC_RYK18-Sep-08 0:45
VC_RYK18-Sep-08 0:45 
GeneralRe: Reading larg File Issue Pin
James R. Twine18-Sep-08 4:24
James R. Twine18-Sep-08 4:24 
QuestionRe: Reading larg File Issue Pin
David Crow18-Sep-08 3:38
David Crow18-Sep-08 3:38 
AnswerRe: Reading larg File Issue Pin
Joe Woodbury18-Sep-08 8:51
professionalJoe Woodbury18-Sep-08 8:51 

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.