Click here to Skip to main content
15,881,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Moving a dialog box that you do not create Pin
pjdriverdude8-Sep-10 9:28
pjdriverdude8-Sep-10 9:28 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:32
Code-o-mat8-Sep-10 9:32 
AnswerRe: Moving a dialog box that you do not create [modified] Pin
Luc Pattyn8-Sep-10 9:05
sitebuilderLuc Pattyn8-Sep-10 9:05 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:12
Code-o-mat8-Sep-10 9:12 
GeneralRe: Moving a dialog box that you do not create Pin
Luc Pattyn8-Sep-10 9:15
sitebuilderLuc Pattyn8-Sep-10 9:15 
QuestionMessage Removed Pin
8-Sep-10 4:32
professionalN_tro_P8-Sep-10 4:32 
AnswerRe: Simple 8bpp Image modifying Pin
CPallini8-Sep-10 5:18
mveCPallini8-Sep-10 5:18 
AnswerRe: Simple 8bpp Image modifying Pin
normanS11-Sep-10 18:49
normanS11-Sep-10 18:49 
I've never had to work with 8 bit per pixel images, but they are fundamentally different from 16 bpp or 24 bpp images. And 24 bpp images are easier to work with in some ways!

In a 24 bpp image (as I'm sure you know), you have a byte each for intensity of red, green, and blue components.

In an 8bpp image, each pixel's byte does not contain a value which can be directly interpretted as a colour value. Instead, the pixel contains an index to the pallette, where the pallette is effectively a 256-element array of 24 bpp colour values (I seem to remember that there is something peculiar in the palette, so maybe it is 240 element not 256 element, where 16 elements are "system colours" and have fixed values, or something like that.)

Have a look at the MSDN SAVEBMP.C example. It's painful but it will work! (But I'm really glad I only ever had to save 16bpp and 24bpp images based on SDK examples like this.)
QuestionPrevent Screen Capturing Pin
Nishad S8-Sep-10 0:32
Nishad S8-Sep-10 0:32 
AnswerRe: Prevent Screen Capturing PinPopular
Moak8-Sep-10 0:46
Moak8-Sep-10 0:46 
AnswerRe: Prevent Screen Capturing [modified] PinPopular
Emilio Garavaglia8-Sep-10 1:57
Emilio Garavaglia8-Sep-10 1:57 
AnswerRe: Prevent Screen Capturing Pin
Iain Clarke, Warrior Programmer8-Sep-10 1:58
Iain Clarke, Warrior Programmer8-Sep-10 1:58 
QuestionRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 2:20
Code-o-mat8-Sep-10 2:20 
AnswerRe: Prevent Screen Capturing Pin
Nishad S8-Sep-10 2:37
Nishad S8-Sep-10 2:37 
AnswerRe: Prevent Screen Capturing Pin
Iain Clarke, Warrior Programmer8-Sep-10 2:52
Iain Clarke, Warrior Programmer8-Sep-10 2:52 
GeneralRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 3:29
Code-o-mat8-Sep-10 3:29 
AnswerRe: Prevent Screen Capturing Pin
Moak8-Sep-10 4:31
Moak8-Sep-10 4:31 
GeneralRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 4:39
Code-o-mat8-Sep-10 4:39 
GeneralRe: Prevent Screen Capturing Pin
Moak8-Sep-10 4:44
Moak8-Sep-10 4:44 
JokeRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 4:47
Code-o-mat8-Sep-10 4:47 
GeneralRe: Prevent Screen Capturing Pin
Moak8-Sep-10 5:03
Moak8-Sep-10 5:03 
GeneralRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 8:58
Code-o-mat8-Sep-10 8:58 
GeneralRe: Prevent Screen Capturing Pin
Iain Clarke, Warrior Programmer8-Sep-10 4:44
Iain Clarke, Warrior Programmer8-Sep-10 4:44 
GeneralRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 9:03
Code-o-mat8-Sep-10 9:03 
AnswerRe: Prevent Screen Capturing Pin
Yusuf8-Sep-10 11:39
Yusuf8-Sep-10 11:39 

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.