Click here to Skip to main content
16,011,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message cross threads Pin
Kelly Herald7-Nov-02 12:02
Kelly Herald7-Nov-02 12:02 
QuestionHow to: GDI Flicker Free ?? Pin
cleathley6-Nov-02 22:14
cleathley6-Nov-02 22:14 
AnswerRe: How to: GDI Flicker Free ?? Pin
Christian Graus6-Nov-02 22:24
protectorChristian Graus6-Nov-02 22:24 
AnswerRe: How to: GDI Flicker Free ?? Pin
KarstenK7-Nov-02 0:13
mveKarstenK7-Nov-02 0:13 
GeneralIE reuse Pin
rrrado6-Nov-02 22:10
rrrado6-Nov-02 22:10 
GeneralRe: IE reuse Pin
Stephane Rodriguez.6-Nov-02 23:03
Stephane Rodriguez.6-Nov-02 23:03 
GeneralRe: IE reuse Pin
rrrado7-Nov-02 2:29
rrrado7-Nov-02 2:29 
GeneralColor representation Pin
ISIS556-Nov-02 20:08
ISIS556-Nov-02 20:08 
I'm doing a project using DirectDraw in 16 bit mode, and I stored a certain bitmap in a DD surface. Now I'd like to read the colors off the surface, process them accordingly and then assign the new values.

The problem is that the color is stored as an unsigned integer (for example "65503" for a shade of white). In order to process it I would like to break it back into 16-Bit RGB values (such as RGB16BIT(31,31,31), again for a shade of white).

How could I do so? anybody? Unsure | :~

Isaac Sasson,
Small time programmer - complainer at large!
Sonork ID 100.13704
GeneralRe: Color representation Pin
Stephane Rodriguez.6-Nov-02 20:45
Stephane Rodriguez.6-Nov-02 20:45 
GeneralRe: Color representation Pin
Christian Graus6-Nov-02 20:46
protectorChristian Graus6-Nov-02 20:46 
GeneralRe: Color representation Pin
ISIS556-Nov-02 21:04
ISIS556-Nov-02 21:04 
GeneralRe: Color representation Pin
Christian Graus6-Nov-02 21:07
protectorChristian Graus6-Nov-02 21:07 
GeneralPLZ Help me :) Pin
SUPER_PROG6-Nov-02 19:02
SUPER_PROG6-Nov-02 19:02 
GeneralRe: PLZ Help me :) Pin
Christian Graus6-Nov-02 19:28
protectorChristian Graus6-Nov-02 19:28 
GeneralRe: PLZ Help me :) Pin
Stephane Rodriguez.6-Nov-02 19:41
Stephane Rodriguez.6-Nov-02 19:41 
GeneralRe: PLZ Help me :) Pin
Christian Graus6-Nov-02 19:44
protectorChristian Graus6-Nov-02 19:44 
GeneralRe: PLZ Help me :) Pin
Stephane Rodriguez.6-Nov-02 19:51
Stephane Rodriguez.6-Nov-02 19:51 
GeneralRe: PLZ Help me :) Pin
benjymous6-Nov-02 23:21
benjymous6-Nov-02 23:21 
GeneralRe: PLZ Help me :) Pin
Christian Graus6-Nov-02 23:31
protectorChristian Graus6-Nov-02 23:31 
GeneralRe: PLZ Help me :) Pin
benjymous7-Nov-02 0:13
benjymous7-Nov-02 0:13 
GeneralRe: PLZ Help me :) Pin
Roger Allen7-Nov-02 7:19
Roger Allen7-Nov-02 7:19 
GeneralCompletion Port and Multithreads :: MFC Pin
valikac6-Nov-02 18:40
valikac6-Nov-02 18:40 
GeneralRe: Completion Port and Multithreads :: MFC Pin
rrrado6-Nov-02 22:16
rrrado6-Nov-02 22:16 
GeneralRe: Completion Port and Multithreads :: MFC Pin
Daniel Lohmann6-Nov-02 22:52
Daniel Lohmann6-Nov-02 22:52 
GeneralRe: Completion Port and Multithreads :: MFC Pin
valikac7-Nov-02 10:00
valikac7-Nov-02 10:00 

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.