Click here to Skip to main content
15,911,786 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TreeControl limit? Pin
Neville Franks23-Apr-02 14:18
Neville Franks23-Apr-02 14:18 
GeneralChanging the text color in CEdit Pin
Wizard_0123-Apr-02 10:58
Wizard_0123-Apr-02 10:58 
GeneralRe: Changing the text color in CEdit Pin
Rickard Andersson2023-Apr-02 11:49
Rickard Andersson2023-Apr-02 11:49 
GeneralRe: Changing the text color in CEdit Pin
moliate23-Apr-02 17:31
moliate23-Apr-02 17:31 
GeneralRe: Changing the text color in CEdit Pin
Wizard_0123-Apr-02 20:02
Wizard_0123-Apr-02 20:02 
Generaladd to menu Pin
thundercatzlair23-Apr-02 10:42
thundercatzlair23-Apr-02 10:42 
GeneralRe: add to menu Pin
Rickard Andersson2023-Apr-02 11:46
Rickard Andersson2023-Apr-02 11:46 
QuestionAttributed C++: How can I have a custom enum in idl???? Pin
Le centriste23-Apr-02 10:39
Le centriste23-Apr-02 10:39 
I am very puzzled by this one. Previously, when one wanted to have a custom enum in the typelib, he simply put it in the library section of the idl file:

library SomeLib
{
    typedef enum { someval } MyEnum;
}


and voila.

But with VC.NET, and attributed C++, how do you do that??? I tried the following:

[module .....];

[export, public]
typedef enum { someval } MyEnum;


but the declaration is not part of the typelib, since it is before the library statement in the generated idl file.

Anyone have tried this before? Is it still possible to do it? Do I have to switch back to non-attributed C++???




Michel

It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.

- TreeBeard
QuestionWhy did Layne Staley have to die? Pin
23-Apr-02 8:01
suss23-Apr-02 8:01 
AnswerRe: Why did Layne Staley have to die? Pin
Mike Nordell23-Apr-02 9:46
Mike Nordell23-Apr-02 9:46 
GeneralRe: Why did Layne Staley have to die? Pin
Mazdak23-Apr-02 9:53
Mazdak23-Apr-02 9:53 
GeneralRe: Why did Layne Staley have to die? Pin
Mike Nordell23-Apr-02 10:22
Mike Nordell23-Apr-02 10:22 
GeneralRe: Why did Layne Staley have to die? Pin
Christian Graus23-Apr-02 10:27
protectorChristian Graus23-Apr-02 10:27 
GeneralRe: Why did Layne Staley have to die? Pin
Mike Nordell23-Apr-02 11:02
Mike Nordell23-Apr-02 11:02 
GeneralRe: Why did Layne Staley have to die? Pin
Christian Graus23-Apr-02 11:35
protectorChristian Graus23-Apr-02 11:35 
AnswerRe: Why did Layne Staley have to die? Pin
23-Apr-02 10:32
suss23-Apr-02 10:32 
GeneralRe: Why did Layne Staley have to die? Pin
Michael P Butler23-Apr-02 11:26
Michael P Butler23-Apr-02 11:26 
GeneralPottals in Relaese Pin
Renjith Ramachandran23-Apr-02 7:55
Renjith Ramachandran23-Apr-02 7:55 
GeneralRe: Pottals in Relaese Pin
act_x23-Apr-02 8:19
act_x23-Apr-02 8:19 
GeneralRe: Pottals in Relaese Pin
Renjith Ramachandran23-Apr-02 9:26
Renjith Ramachandran23-Apr-02 9:26 
GeneralNew Forum for MC++ Pin
Albert Pascual23-Apr-02 7:45
sitebuilderAlbert Pascual23-Apr-02 7:45 
GeneralRe: New Forum for MC++ Pin
Mike Zinni23-Apr-02 7:52
Mike Zinni23-Apr-02 7:52 
GeneralRe: New Forum for MC++ Pin
Albert Pascual23-Apr-02 8:39
sitebuilderAlbert Pascual23-Apr-02 8:39 
GeneralRe: New Forum for MC++ Pin
Shog923-Apr-02 8:37
sitebuilderShog923-Apr-02 8:37 
GeneralRe: New Forum for MC++ Pin
Albert Pascual23-Apr-02 9:04
sitebuilderAlbert Pascual23-Apr-02 9:04 

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.