Click here to Skip to main content
15,792,482 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 1:47
Y_Kaushik19-Sep-07 1:47 
GeneralRe: Tab Control Related problem Pin
nbugalia19-Sep-07 2:01
nbugalia19-Sep-07 2:01 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 2:07
Y_Kaushik19-Sep-07 2:07 
QuestionRe: Tab Control Related problem Pin
David Crow19-Sep-07 3:50
David Crow19-Sep-07 3:50 
AnswerRe: Tab Control Related problem Pin
Nelek19-Sep-07 3:41
protectorNelek19-Sep-07 3:41 
AnswerRe: Tab Control Related problem Pin
David Crow19-Sep-07 3:57
David Crow19-Sep-07 3:57 
Questiondon't understand MSDN explanations. Can someone explain this? Pin
Nelek19-Sep-07 0:23
protectorNelek19-Sep-07 0:23 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
toxcct19-Sep-07 0:35
toxcct19-Sep-07 0: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 1:35
protectorNelek19-Sep-07 1:35 
GeneralRe: Didn't explain myself good Pin
toxcct19-Sep-07 2:49
toxcct19-Sep-07 2:49 
GeneralRe: Didn't explain myself good Pin
Nelek19-Sep-07 3:08
protectorNelek19-Sep-07 3:08 
QuestionRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow19-Sep-07 4:04
David Crow19-Sep-07 4:04 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek19-Sep-07 21:28
protectorNelek19-Sep-07 21:28 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 3:42
David Crow20-Sep-07 3:42 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek20-Sep-07 5:12
protectorNelek20-Sep-07 5:12 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 5:30
David Crow20-Sep-07 5:30 
JokeRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek21-Sep-07 2:47
protectorNelek21-Sep-07 2:47 
QuestionFonts Pin
Waldermort18-Sep-07 23:57
Waldermort18-Sep-07 23:57 
AnswerRe: Fonts Pin
KarstenK19-Sep-07 0:05
mveKarstenK19-Sep-07 0:05 
AnswerRe: Fonts Pin
nbugalia19-Sep-07 0:14
nbugalia19-Sep-07 0:14 
AnswerRe: Fonts Pin
Waldermort19-Sep-07 1:46
Waldermort19-Sep-07 1:46 
QuestionEM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah18-Sep-07 23:37
GauranG Shah18-Sep-07 23:37 
AnswerRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
nbugalia19-Sep-07 0:23
nbugalia19-Sep-07 0:23 
GeneralRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah19-Sep-07 0:30
GauranG Shah19-Sep-07 0:30 
QuestionRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
David Crow19-Sep-07 4:24
David Crow19-Sep-07 4: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.