Click here to Skip to main content
15,896,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSimple menu question Pin
masnu30-Jul-08 3:36
masnu30-Jul-08 3:36 
AnswerRe: Simple menu question Pin
vikas amin30-Jul-08 4:28
vikas amin30-Jul-08 4:28 
AnswerRe: Simple menu question Pin
Iain Clarke, Warrior Programmer30-Jul-08 4:32
Iain Clarke, Warrior Programmer30-Jul-08 4:32 
AnswerRe: Simple menu question Pin
Mark Salsbery30-Jul-08 6:44
Mark Salsbery30-Jul-08 6:44 
Question64 bit enum? Pin
Rob Caldecott30-Jul-08 3:30
Rob Caldecott30-Jul-08 3:30 
AnswerRe: 64 bit enum? Pin
sashoalm30-Jul-08 3:52
sashoalm30-Jul-08 3:52 
GeneralRe: 64 bit enum? Pin
Rob Caldecott30-Jul-08 3:57
Rob Caldecott30-Jul-08 3:57 
GeneralRe: 64 bit enum? Pin
Randor 30-Jul-08 4:29
professional Randor 30-Jul-08 4:29 
sashoalm wrote:
but may be compiler specific


Yes, it seems to be compiler specific accoring to the ISO standards:

The underlying type of an enumeration is an integral type that can represent all the enumerator values defined in the enumeration. It is implementation-defined which integral type is used as the underlying type for an enumeration except that the underlying type shall not be larger than int unless the value of an enumerator cannot fit in an int or unsigned int. If the enumerator-list is empty, the underlying type is as if the enumeration had a single enumerator with value 0.



Best Wishes,
-David Delaune
AnswerRe: 64 bit enum? Pin
toxcct30-Jul-08 4:03
toxcct30-Jul-08 4:03 
AnswerRe: 64 bit enum? Pin
CPallini30-Jul-08 5:13
mveCPallini30-Jul-08 5:13 
QuestionHow can I hide main window and modal dialogs of a third-party app? Pin
sashoalm30-Jul-08 2:32
sashoalm30-Jul-08 2:32 
AnswerRe: How can I hide main window and modal dialogs of a third-party app? Pin
Alan Balkany30-Jul-08 3:31
Alan Balkany30-Jul-08 3:31 
GeneralRe: How can I hide main window and modal dialogs of a third-party app? Pin
sashoalm30-Jul-08 3:45
sashoalm30-Jul-08 3:45 
AnswerRe: How can I hide main window and modal dialogs of a third-party app? Pin
vikas amin30-Jul-08 4:42
vikas amin30-Jul-08 4:42 
GeneralRe: How can I hide main window and modal dialogs of a third-party app? Pin
sashoalm30-Jul-08 5:03
sashoalm30-Jul-08 5:03 
QuestionOffice 2007 styles not working in dialogs Pin
Redeye9230-Jul-08 2:06
Redeye9230-Jul-08 2:06 
AnswerRe: Office 2007 styles not working in dialogs Pin
Rob Caldecott30-Jul-08 5:17
Rob Caldecott30-Jul-08 5:17 
GeneralRe: Office 2007 styles not working in dialogs Pin
Redeye9230-Jul-08 6:51
Redeye9230-Jul-08 6:51 
GeneralRe: Office 2007 styles not working in dialogs Pin
Rob Caldecott30-Jul-08 8:07
Rob Caldecott30-Jul-08 8:07 
QuestionCListCtrl: max number of rows Pin
Gerhard-E30-Jul-08 1:54
Gerhard-E30-Jul-08 1:54 
AnswerRe: CListCtrl: max number of rows Pin
_AnsHUMAN_ 30-Jul-08 1:59
_AnsHUMAN_ 30-Jul-08 1:59 
GeneralRe: CListCtrl: max number of rows Pin
Gerhard-E30-Jul-08 2:08
Gerhard-E30-Jul-08 2:08 
QuestionProgress bar is not updated. while background process is running on the dialog Pin
ptr_Electron30-Jul-08 1:44
ptr_Electron30-Jul-08 1:44 
AnswerRe: Progress bar is not updated. while background process is running on the dialog Pin
CPallini30-Jul-08 2:01
mveCPallini30-Jul-08 2:01 
AnswerRe: Progress bar is not updated. while background process is running on the dialog Pin
Mark Salsbery30-Jul-08 6:51
Mark Salsbery30-Jul-08 6:51 

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.