Click here to Skip to main content
15,861,125 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CListCtrl Get selection? Pin
CPallini5-Dec-07 21:50
mveCPallini5-Dec-07 21:50 
GeneralRe: CListCtrl Get selection? Pin
Johpoke5-Dec-07 22:14
Johpoke5-Dec-07 22:14 
GeneralRe: CListCtrl Get selection? Pin
Nelek5-Dec-07 22:58
protectorNelek5-Dec-07 22:58 
AnswerRe: CListCtrl Get selection? Pin
David Crow6-Dec-07 3:01
David Crow6-Dec-07 3:01 
GeneralReceive LVN_BEGINDRAG in parent dialog of CListCtrl, but no LVN_ENDDRAG Pin
followait5-Dec-07 21:25
followait5-Dec-07 21:25 
Generalyyuuyuu Pin
vghh5-Dec-07 21:16
sussvghh5-Dec-07 21:16 
General16 bit image using Bitmap or TIFF using VC++ (MFC control) Pin
sunny.rana5-Dec-07 21:10
sunny.rana5-Dec-07 21:10 
GeneralRe: 16 bit image using Bitmap or TIFF using VC++ (MFC control) Pin
CPallini5-Dec-07 21:38
mveCPallini5-Dec-07 21:38 
Firt of all, off topic: read the posting guidelines.


Well, it seems that your image is monochromatic.
Speaking about bitmaps, you cannot transfer 12-bit info into a single channel of RGB, since it (as shown by the code snippet) range 0..255. You may transfer such a info, for instance, to two (or three) channels, but then you have false colors. I don't know if it is quite acceptable for you (it depends on image usage, for instance diagnostic,...).
You can also use a different scaling algorithm (maybe a scaling more sensitive on differences on low-intensity pixels and less sensitive on high-intensity ones); this choice depends as well on image final usage.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.


GeneralInternet Printing Pin
Rajeev Verma5-Dec-07 20:48
Rajeev Verma5-Dec-07 20:48 
GeneralRe: Internet Printing Pin
Nelek5-Dec-07 22:56
protectorNelek5-Dec-07 22:56 
QuestionGetWindowModuleFileName (Succeed/Failed) ? Pin
nitin35-Dec-07 20:16
nitin35-Dec-07 20:16 
AnswerRe: GetWindowModuleFileName (Succeed/Failed) ? Pin
Naveen5-Dec-07 20:43
Naveen5-Dec-07 20:43 
GeneralRe: GetWindowModuleFileNameEx (Succeeded ! ) Pin
nitin35-Dec-07 21:12
nitin35-Dec-07 21:12 
GeneralWriteFIle() to serial port. Pin
Anu_Bala5-Dec-07 20:14
Anu_Bala5-Dec-07 20:14 
GeneralRe: WriteFIle() to serial port. Pin
CPallini5-Dec-07 21:25
mveCPallini5-Dec-07 21:25 
QuestionCListCtrl : How to un-select item in the list programmatically ? Pin
xanagan6665-Dec-07 19:51
xanagan6665-Dec-07 19:51 
AnswerRe: CListCtrl : How to un-select item in the list programmatically ? Pin
Naveen5-Dec-07 20:50
Naveen5-Dec-07 20:50 
QuestionHow do I detect the audio/video capabilities on machine Pin
jit_knit5-Dec-07 18:45
jit_knit5-Dec-07 18:45 
GeneralSaving PowerpointSlide as Bitmap From a Win32 Api based Application Pin
niloy5-Dec-07 18:20
niloy5-Dec-07 18:20 
Questionabout pdf library. Pin
keyto5-Dec-07 18:12
keyto5-Dec-07 18:12 
GeneralRe: about pdf library. Pin
Hamid_RT5-Dec-07 18:29
Hamid_RT5-Dec-07 18:29 
QuestionRe: about pdf library. Pin
keyto5-Dec-07 19:05
keyto5-Dec-07 19:05 
GeneralFill CListCtrl with Images, about 20 images, performance problem Pin
followait5-Dec-07 17:09
followait5-Dec-07 17:09 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
Hamid_RT5-Dec-07 18:28
Hamid_RT5-Dec-07 18:28 
GeneralRe: Fill CListCtrl with Images, about 20 images, performance problem Pin
followait5-Dec-07 19:16
followait5-Dec-07 19:16 

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.