Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CMenu question Pin
Naveen24-May-07 22:50
Naveen24-May-07 22:50 
AnswerRe: CMenu question Pin
toxcct24-May-07 23:05
toxcct24-May-07 23:05 
GeneralRe: CMenu question Pin
ldsdbomber24-May-07 23:10
ldsdbomber24-May-07 23:10 
GeneralRe: CMenu question Pin
Naveen24-May-07 23:24
Naveen24-May-07 23:24 
GeneralRe: CMenu question Pin
ldsdbomber24-May-07 23:56
ldsdbomber24-May-07 23:56 
QuestionHooking menu items disabled... Pin
Fuzzychaos24-May-07 22:17
Fuzzychaos24-May-07 22:17 
QuestionShow DIB Pin
kcynic24-May-07 22:15
kcynic24-May-07 22:15 
AnswerRe: Show DIB Pin
Nelek25-May-07 0:46
protectorNelek25-May-07 0:46 
Mmmm,

First thing... Do you mean BITMAPHEADER or BITMAPINFOHEADER???

One way is to get the parameters of the structures one per one and formating a CString to have the value in. Then display as you want. I.E:

BITMAPINFOHEADER bmi; 
//Fill the bmi as you make it...

CString szSize = "", szWidth = "", szHeight = ""; //.... one for every member
szSize.Format (_T("%d"), bmi.biSize);
szWidth.Format (_T("%d"), bmi.biWidth);
//And so on...


Now you can put the parameters on the screen, AfxMessageBox (), save them...

Hope it helps (and it is what you were asking for, if not... explain it better Wink | ;) :P )

Edit: I forgot to close a () in the code

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

GeneralRe: Show DIB Pin
kcynic25-May-07 1:55
kcynic25-May-07 1:55 
AnswerRe: Show DIB Pin
Mark Salsbery25-May-07 5:57
Mark Salsbery25-May-07 5:57 
GeneralRe: Show DIB Pin
kcynic25-May-07 12:15
kcynic25-May-07 12:15 
GeneralRe: Show DIB Pin
Mark Salsbery25-May-07 12:22
Mark Salsbery25-May-07 12:22 
GeneralRe: Show DIB Pin
kcynic25-May-07 13:35
kcynic25-May-07 13:35 
GeneralRe: Show DIB Pin
Mark Salsbery25-May-07 13:38
Mark Salsbery25-May-07 13:38 
GeneralRe: Show DIB Pin
kcynic25-May-07 16:58
kcynic25-May-07 16:58 
GeneralRe: Show DIB Pin
Mark Salsbery26-May-07 6:15
Mark Salsbery26-May-07 6:15 
QuestionHow to know the size of string by use new expression created Pin
hanlei000000000924-May-07 22:01
hanlei000000000924-May-07 22:01 
AnswerRe: How to know the size of string by use new expression created Pin
Naveen24-May-07 22:03
Naveen24-May-07 22:03 
GeneralRe: How to know the size of string by use new expression created Pin
Stephen Hewitt24-May-07 22:20
Stephen Hewitt24-May-07 22:20 
GeneralRe: How to know the size of string by use new expression created Pin
Naveen24-May-07 22:40
Naveen24-May-07 22:40 
GeneralRe: How to know the size of string by use new expression created Pin
David Crow25-May-07 4:44
David Crow25-May-07 4:44 
GeneralRe: How to know the size of string by use new expression created Pin
Stephen Hewitt27-May-07 14:36
Stephen Hewitt27-May-07 14:36 
GeneralRe: How to know the size of string by use new expression created Pin
Naveen27-May-07 14:53
Naveen27-May-07 14:53 
GeneralRe: How to know the size of string by use new expression created Pin
Stephen Hewitt27-May-07 14:56
Stephen Hewitt27-May-07 14:56 
AnswerRe: How to know the size of string by use new expression created Pin
Cedric Moonen24-May-07 22:07
Cedric Moonen24-May-07 22:07 

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.