Click here to Skip to main content
15,923,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get the playtime for a mp3? Pin
chocm16-Feb-07 16:16
chocm16-Feb-07 16:16 
QuestionRe: How to get the playtime for a mp3? Pin
David Crow17-Feb-07 16:16
David Crow17-Feb-07 16:16 
QuestionCompiler versions [modified] Pin
Waldermort16-Feb-07 15:39
Waldermort16-Feb-07 15:39 
AnswerRe: Compiler versions Pin
PJ Arends16-Feb-07 22:31
professionalPJ Arends16-Feb-07 22:31 
GeneralRe: Compiler versions Pin
Waldermort16-Feb-07 22:46
Waldermort16-Feb-07 22:46 
QuestionBITMAP handling for screen Pin
Vancouver16-Feb-07 13:12
Vancouver16-Feb-07 13:12 
AnswerRe: BITMAP handling for screen [modified] Pin
Mark Salsbery16-Feb-07 13:58
Mark Salsbery16-Feb-07 13:58 
GeneralRe: BITMAP handling for screen Pin
Vancouver16-Feb-07 18:04
Vancouver16-Feb-07 18:04 
1. The non-planar organization is ok on its own. I used GetDeviceCaps to query the characteristics; that too returnes 1. However, the number of colors in GetDeviceCaps is minus 1, although MSDN states, that 1 denotes more than 8 bits per pixel. Though this is not a big issue.

2. Of course if I use GetDC(NULL), then I get a DDB; that is the subject of #1 above. My problem is, that this goes against the documentation. I am doing this way in order to achieve the best performance; I don't know, if that won't be ruined by this usage of bitmap (although this appears logical to me), and I don't know, how I could verify it.

3. Using a DIB format would defeat the purpose (performance advantage with DDB). Either I don't understand something, or there is some way to work directly on the bit map.

Anyway, thanks.
GeneralRe: BITMAP handling for screen Pin
Waldermort16-Feb-07 19:13
Waldermort16-Feb-07 19:13 
GeneralRe: BITMAP handling for screen Pin
Vancouver17-Feb-07 9:58
Vancouver17-Feb-07 9:58 
GeneralRe: BITMAP handling for screen Pin
Mark Salsbery18-Feb-07 7:12
Mark Salsbery18-Feb-07 7:12 
GeneralRe: BITMAP handling for screen Pin
Vancouver18-Feb-07 7:53
Vancouver18-Feb-07 7:53 
GeneralRe: BITMAP handling for screen Pin
Mark Salsbery18-Feb-07 8:36
Mark Salsbery18-Feb-07 8:36 
GeneralRe: BITMAP handling for screen Pin
Vancouver18-Feb-07 7:46
Vancouver18-Feb-07 7:46 
QuestionSFTP using C++ Pin
LCI16-Feb-07 8:50
LCI16-Feb-07 8:50 
AnswerRe: SFTP using C++ Pin
led mike16-Feb-07 12:14
led mike16-Feb-07 12:14 
QuestionOn paint calling order Pin
Kharfax16-Feb-07 8:01
Kharfax16-Feb-07 8:01 
AnswerRe: On paint calling order Pin
Newbie0016-Feb-07 8:09
Newbie0016-Feb-07 8:09 
AnswerRe: On paint calling order Pin
PJ Arends16-Feb-07 8:22
professionalPJ Arends16-Feb-07 8:22 
AnswerRe: On paint calling order Pin
Kharfax16-Feb-07 8:26
Kharfax16-Feb-07 8:26 
AnswerRe: On paint calling order Pin
Michael Dunn16-Feb-07 10:17
sitebuilderMichael Dunn16-Feb-07 10:17 
QuestionHow to disable selected drives? Pin
Super Hornet16-Feb-07 4:57
Super Hornet16-Feb-07 4:57 
QuestionRe: How to disable selected drives? Pin
David Crow16-Feb-07 5:14
David Crow16-Feb-07 5:14 
QuestionRe: How to disable selected drives? Pin
Super Hornet16-Feb-07 5:49
Super Hornet16-Feb-07 5:49 
AnswerRe: How to disable selected drives? Pin
David Crow16-Feb-07 6:42
David Crow16-Feb-07 6:42 

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.