Click here to Skip to main content
15,910,980 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DLL property Pin
Naveen22-Oct-07 19:47
Naveen22-Oct-07 19:47 
GeneralRe: DLL property Pin
George_George22-Oct-07 20:49
George_George22-Oct-07 20:49 
Questionwhy CreateView(&ccontext, AFX_IDW_PANE_FIRST) return NULL in win2000? Pin
chnuser22-Oct-07 18:58
chnuser22-Oct-07 18:58 
QuestionAccess violation writing location 0x10161b7c. Pin
monsieur_jj22-Oct-07 17:14
monsieur_jj22-Oct-07 17:14 
QuestionDynamic Enums Pin
aplatoon22-Oct-07 15:25
aplatoon22-Oct-07 15:25 
AnswerRe: Dynamic Enums Pin
Michael Dunn22-Oct-07 20:17
sitebuilderMichael Dunn22-Oct-07 20:17 
QuestionPlugin for windows 3.1 \ 3.11 ???? Pin
media90Cj22-Oct-07 14:27
media90Cj22-Oct-07 14:27 
QuestionGDI+ help needed Pin
Kiran Satish22-Oct-07 11:34
Kiran Satish22-Oct-07 11:34 
Hi all,

I am planning on writing an MFC application where I can open any TIFF or BMP images and do some manipulation on only TIFF images. All my tiff images are gray scale images which are anywhere from 512x512 to 5000x5000 in dimensions. The purpose of this application is to open a TIFF image and select some points on the image using mouse button click and change those selected points to a color pixel. So when the user keeps on selecting points on the image they are displayed in color. For this purpose, when ever the user click on a point on the image, I should be able to get the exact pixel location with respect to actual image (irrespective of the zoom level or position of scroll bars),Since all my tiff images are gray scale, when I open using Bitmap class, they are being opened as 8bppIndexed format.

Can someone explain me how I can do this??

thanks in advance

PKNT

AnswerRe: GDI+ help needed Pin
Llasus22-Oct-07 13:14
Llasus22-Oct-07 13:14 
GeneralRe: GDI+ help needed Pin
Kiran Satish22-Oct-07 15:50
Kiran Satish22-Oct-07 15:50 
QuestionHow do you send a button click message to parent window Pin
littleGreenDude22-Oct-07 8:07
littleGreenDude22-Oct-07 8:07 
AnswerRe: How do you send a button click message to parent window Pin
David Crow22-Oct-07 8:43
David Crow22-Oct-07 8:43 
GeneralRe: How do you send a button click message to parent window Pin
littleGreenDude22-Oct-07 8:47
littleGreenDude22-Oct-07 8:47 
GeneralRe: How do you send a button click message to parent window Pin
Maximilien22-Oct-07 8:55
Maximilien22-Oct-07 8:55 
GeneralRe: How do you send a button click message to parent window Pin
David Crow22-Oct-07 9:00
David Crow22-Oct-07 9:00 
GeneralRe: How do you send a button click message to parent window Pin
Randor 22-Oct-07 10:37
professional Randor 22-Oct-07 10:37 
AnswerRe: How do you send a button click message to parent window Pin
Paresh Chitte22-Oct-07 19:05
Paresh Chitte22-Oct-07 19:05 
AnswerRe: How do you send a button click message to parent window Pin
Naveen22-Oct-07 19:53
Naveen22-Oct-07 19:53 
AnswerRe: How do you send a button click message to parent window Pin
Mark Salsbery23-Oct-07 8:57
Mark Salsbery23-Oct-07 8:57 
QuestionCTreeCtrl and SetRedraw Pin
bob1697222-Oct-07 5:08
bob1697222-Oct-07 5:08 
QuestionCDialog and Mouse clicks Pin
mcsherry22-Oct-07 4:33
mcsherry22-Oct-07 4:33 
AnswerRe: CDialog and Mouse clicks Pin
Nishad S22-Oct-07 4:42
Nishad S22-Oct-07 4:42 
GeneralRe: CDialog and Mouse clicks Pin
mcsherry22-Oct-07 6:45
mcsherry22-Oct-07 6:45 
AnswerRe: CDialog and Mouse clicks Pin
James R. Twine22-Oct-07 5:09
James R. Twine22-Oct-07 5:09 
QuestionI/O Completion Port question Pin
unknown10122-Oct-07 3:42
unknown10122-Oct-07 3: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.