Click here to Skip to main content
14,978,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 0:47
MemberY_Kaushik19-Sep-07 0:47 
GeneralRe: Tab Control Related problem Pin
nbugalia19-Sep-07 1:01
Membernbugalia19-Sep-07 1:01 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 1:07
MemberY_Kaushik19-Sep-07 1:07 
QuestionRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:50
MemberDavid Crow19-Sep-07 2:50 
AnswerRe: Tab Control Related problem Pin
Nelek19-Sep-07 2:41
protectorNelek19-Sep-07 2:41 
AnswerRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:57
MemberDavid Crow19-Sep-07 2:57 
Questiondon't understand MSDN explanations. Can someone explain this? Pin
Nelek18-Sep-07 23:23
protectorNelek18-Sep-07 23:23 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
toxcct18-Sep-07 23:35
Membertoxcct18-Sep-07 23:35 
this 2 block will delimit every 1-Byte-aligned structs/classes/unions between the pack and the pop.

the subtlty is in the syntax understood by the compiler.

#if defined( _MSC_VER ) && _MSC_VER > 600 searches if the version of the compiler is higher that Visual C++ 6. if so, it tells to the compiler to user the 1 byte alignment with #pragma pack( push, 1 ). but it the compiler is more recent #pragma pack( 1 ) is sufficient. Same applies to the #pragma pop syntax.
you have to know that the compiler manages such alignments with a stack of integers. the current alignement is the integer at the top of the stack. but at any time, you can add a new value (push), or remove some (pop)...


GeneralDidn't explain myself good Pin
Nelek19-Sep-07 0:35
protectorNelek19-Sep-07 0:35 
GeneralRe: Didn't explain myself good Pin
toxcct19-Sep-07 1:49
Membertoxcct19-Sep-07 1:49 
GeneralRe: Didn't explain myself good Pin
Nelek19-Sep-07 2:08
protectorNelek19-Sep-07 2:08 
QuestionRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow19-Sep-07 3:04
MemberDavid Crow19-Sep-07 3:04 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek19-Sep-07 20:28
protectorNelek19-Sep-07 20:28 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 2:42
MemberDavid Crow20-Sep-07 2:42 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek20-Sep-07 4:12
protectorNelek20-Sep-07 4:12 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 4:30
MemberDavid Crow20-Sep-07 4:30 
JokeRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek21-Sep-07 1:47
protectorNelek21-Sep-07 1:47 
QuestionFonts Pin
Waldermort18-Sep-07 22:57
MemberWaldermort18-Sep-07 22:57 
AnswerRe: Fonts Pin
KarstenK18-Sep-07 23:05
mveKarstenK18-Sep-07 23:05 
AnswerRe: Fonts Pin
nbugalia18-Sep-07 23:14
Membernbugalia18-Sep-07 23:14 
AnswerRe: Fonts Pin
Waldermort19-Sep-07 0:46
MemberWaldermort19-Sep-07 0:46 
QuestionEM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah18-Sep-07 22:37
MemberGauranG Shah18-Sep-07 22:37 
AnswerRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
nbugalia18-Sep-07 23:23
Membernbugalia18-Sep-07 23:23 
GeneralRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah18-Sep-07 23:30
MemberGauranG Shah18-Sep-07 23:30 
QuestionRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
David Crow19-Sep-07 3:24
MemberDavid Crow19-Sep-07 3:24 

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.