Click here to Skip to main content
15,887,821 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can't select HBRUSH into device context Pin
enhzflep11-Sep-12 10:30
enhzflep11-Sep-12 10:30 
GeneralRe: Can't select HBRUSH into device context Pin
Alan Balkany13-Sep-12 10:47
Alan Balkany13-Sep-12 10:47 
QuestionFile download help Pin
Sunil P V10-Sep-12 1:04
Sunil P V10-Sep-12 1:04 
QuestionRe: File download help Pin
David Crow10-Sep-12 2:38
David Crow10-Sep-12 2:38 
AnswerRe: File download help Pin
Sunil P V10-Sep-12 19:04
Sunil P V10-Sep-12 19:04 
GeneralRe: File download help Pin
_Flaviu10-Sep-12 21:01
_Flaviu10-Sep-12 21:01 
QuestionRe: File download help Pin
David Crow11-Sep-12 3:06
David Crow11-Sep-12 3:06 
QuestionHow to set Image' Document Size ? Pin
002comp9-Sep-12 22:18
002comp9-Sep-12 22:18 
Hello Friends

I am creating a application in which I am saving a image as bmp using BITMAPINFOHEADER.
But this structure' height/Width variable is saving image size in Pixels and that i coming fine If i check in Photoshop. But Its Document size[height and width in inches] is not coming fine.As its resolution is by default 72.
And then this Document size is not matching up with mine application ht/width in inches.

Is there any other member varible of BITMAPINFOHEADER structure where I can directly set image size[ht/wd] in inches?

Or any other way So that i can get actual size of image If i open it in some image viewer?

Regards
Yogesh Sikri
AnswerRe: How to set Image' Document Size ? Pin
pasztorpisti9-Sep-12 23:10
pasztorpisti9-Sep-12 23:10 
GeneralRe: How to set Image' Document Size ? Pin
002comp9-Sep-12 23:32
002comp9-Sep-12 23:32 
GeneralRe: How to set Image' Document Size ? Pin
Chris Losinger10-Sep-12 1:11
professionalChris Losinger10-Sep-12 1:11 
QuestionHighlighting some text in CEdit Pin
Hadi Dayvary9-Sep-12 21:57
professionalHadi Dayvary9-Sep-12 21:57 
AnswerRe: Highlighting some text in CEdit Pin
_Flaviu10-Sep-12 19:31
_Flaviu10-Sep-12 19:31 
GeneralRe: Highlighting some text in CEdit Pin
Hadi Dayvary10-Sep-12 22:33
professionalHadi Dayvary10-Sep-12 22:33 
QuestionNON-SCALAR TYPE CONVERSION!? Pin
Jorgmen9-Sep-12 8:58
Jorgmen9-Sep-12 8:58 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
enhzflep9-Sep-12 9:40
enhzflep9-Sep-12 9:40 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 9:52
pasztorpisti9-Sep-12 9:52 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
Jorgmen9-Sep-12 10:52
Jorgmen9-Sep-12 10:52 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
enhzflep9-Sep-12 12:33
enhzflep9-Sep-12 12:33 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
Chuck O'Toole9-Sep-12 12:39
Chuck O'Toole9-Sep-12 12:39 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 14:07
pasztorpisti9-Sep-12 14:07 
GeneralRe: NON-SCALAR TYPE CONVERSION!? Pin
pasztorpisti9-Sep-12 14:09
pasztorpisti9-Sep-12 14:09 
AnswerRe: NON-SCALAR TYPE CONVERSION!? Pin
«_Superman_»9-Sep-12 18:51
professional«_Superman_»9-Sep-12 18:51 
QuestionDocking Pane with CHtmlView repaint problem. Pin
sdancer759-Sep-12 0:03
sdancer759-Sep-12 0:03 
AnswerRe: Docking Pane with CHtmlView repaint problem. Pin
_Flaviu10-Sep-12 19:45
_Flaviu10-Sep-12 19: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.