Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Length of VARIANT V_BSTR Pin
Kreatief22-Sep-05 2:37
Kreatief22-Sep-05 2:37 
GeneralRe: Length of VARIANT V_BSTR Pin
Steen Krogsgaard22-Sep-05 2:41
Steen Krogsgaard22-Sep-05 2:41 
QuestionDisplay colour depth - what's the point? Pin
Taka Muraoka21-Sep-05 3:42
Taka Muraoka21-Sep-05 3:42 
AnswerRe: Display colour depth - what's the point? Pin
Chris Losinger21-Sep-05 4:18
professionalChris Losinger21-Sep-05 4:18 
GeneralRe: Display colour depth - what's the point? Pin
Taka Muraoka21-Sep-05 4:33
Taka Muraoka21-Sep-05 4:33 
GeneralRe: Display colour depth - what's the point? Pin
Chris Losinger21-Sep-05 4:39
professionalChris Losinger21-Sep-05 4:39 
GeneralRe: Display colour depth - what's the point? Pin
Taka Muraoka21-Sep-05 5:00
Taka Muraoka21-Sep-05 5:00 
GeneralRe: Display colour depth - what's the point? Pin
Shog921-Sep-05 6:12
sitebuilderShog921-Sep-05 6:12 
There are some gotchas when converting to a paletted format. First off (in Windows anyway) you don't get a whole 256 color palette - windows reserves a number of colors for drawing UI elements when the video card is in 8-bit mode. Second, you don't necessarily get 8-bits of precision for each color channel even in the palette - when the hardware is in 16-bit mode, you'll get 5-6-5 or some such division among RGB, while in 8-bit mode, the palette (on older hardware at least) will only support 18-bits for each entry.

It is possible to write a conversion routine that takes this into account, and still produces reasonably good results (tell me if you want code). But you're generally better off using a program where you can hand-tune the results. The free GIMP lets you manually edit the palette of 8-bit images, while the excellent (but not free) PaintShop Pro supports the Windows palette directly. For icons, Microangelo does it all.


GeneralRe: Display colour depth - what's the point? Pin
El Corazon21-Sep-05 6:15
El Corazon21-Sep-05 6:15 
GeneralRe: Display colour depth - what's the point? Pin
Taka Muraoka21-Sep-05 6:23
Taka Muraoka21-Sep-05 6:23 
QuestionInstall Project Pin
el_dude21-Sep-05 3:35
sussel_dude21-Sep-05 3:35 
AnswerRe: Install Project Pin
Blake Miller21-Sep-05 4:13
Blake Miller21-Sep-05 4:13 
QuestionMessage window scrolling Pin
Member 222024521-Sep-05 3:17
Member 222024521-Sep-05 3:17 
AnswerRe: Message window scrolling Pin
David Crow21-Sep-05 3:19
David Crow21-Sep-05 3:19 
GeneralRe: Message window scrolling Pin
ddmcr21-Sep-05 3:54
ddmcr21-Sep-05 3:54 
GeneralRe: Message window scrolling Pin
ddmcr21-Sep-05 3:58
ddmcr21-Sep-05 3:58 
Questionchar* problem Pin
ddmcr21-Sep-05 3:06
ddmcr21-Sep-05 3:06 
AnswerRe: char* problem Pin
David Crow21-Sep-05 3:11
David Crow21-Sep-05 3:11 
GeneralRe: char* problem Pin
ddmcr21-Sep-05 3:26
ddmcr21-Sep-05 3:26 
GeneralRe: char* problem Pin
David Crow21-Sep-05 3:54
David Crow21-Sep-05 3:54 
GeneralRe: char* problem Pin
Blake Miller21-Sep-05 4:20
Blake Miller21-Sep-05 4:20 
GeneralRe: char* problem Pin
David Crow21-Sep-05 4:33
David Crow21-Sep-05 4:33 
GeneralRe: char* problem Pin
Blake Miller21-Sep-05 5:00
Blake Miller21-Sep-05 5:00 
GeneralRe: char* problem Pin
David Crow21-Sep-05 6:37
David Crow21-Sep-05 6:37 
GeneralRe: char* problem Pin
Blake Miller21-Sep-05 6:45
Blake Miller21-Sep-05 6:45 

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.