Click here to Skip to main content
16,007,443 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Beginner question Pin
Slaru31-Jul-03 17:53
Slaru31-Jul-03 17:53 
GeneralRe: Beginner question Pin
Jose Vicente31-Jul-03 20:42
Jose Vicente31-Jul-03 20:42 
GeneralRe: Beginner question Pin
monrobot131-Aug-03 2:10
monrobot131-Aug-03 2:10 
GeneralRe: Beginner question Pin
Joey Bloggs2-Aug-03 20:22
Joey Bloggs2-Aug-03 20:22 
GeneralRe: Beginner question Pin
Nemanja Trifunovic4-Aug-03 9:34
Nemanja Trifunovic4-Aug-03 9:34 
GeneralCorrupt array when passed from managed c++ to unmanaged dll Pin
CalKo29-Jul-03 12:48
CalKo29-Jul-03 12:48 
GeneralRe: Corrupt array when passed from managed c++ to unmanaged dll Pin
Jeremy Osner5-Aug-03 6:25
Jeremy Osner5-Aug-03 6:25 
GeneralUsing Magic Library Pin
monrobot1329-Jul-03 7:36
monrobot1329-Jul-03 7:36 
Hi All,

I'm using the magic Library in my MC++ app, but I'm running across a problem trying to access one of it's emums. The enum is declared like this in the source for the library:
public enum DisplayTabModes
{
    HideAll,
    ShowAll,
    ShowActiveLeaf,
    ShowMouseOver,
    ShowActiveAndMouseOver
}
and the property is declared like this:
public DisplayTabModes DisplayTabMode
{
    get { return _displayTabMode; }
          
    set
    {
        if (_displayTabMode != value)
        {
            _displayTabMode = value;
                    
            // Propogate to all children
            Notify(TabGroupBase.NotifyCode.DisplayTabMode);
        }
    }
}
when I try to change the property using this code:
tabGroup->DisplayTabMode = TabbedGroups::DisplayTabModes::HideAll;
I get this error:
error C2248: 'HideAll' : cannot access protected enumerator declared in class 'Crownwood::Magic::Controls::TabbedGroups::DisplayTabModes'
Maybe I'm missing something, but it looks like "HideAll" is public. Anyone know what I'm doing wrong? Any help is much appreciated.

- monrobot13
GeneralRe: Using Magic Library Pin
Anthony_Yio26-Aug-03 1:24
Anthony_Yio26-Aug-03 1:24 
GeneralRe: Using Magic Library Pin
monrobot27-Aug-03 3:51
sussmonrobot27-Aug-03 3:51 
GeneralRe: Using Magic Library Pin
Anthony_Yio27-Aug-03 16:19
Anthony_Yio27-Aug-03 16:19 
Generaltypecasting void* to object Pin
Katamneni29-Jul-03 2:39
Katamneni29-Jul-03 2:39 
Generalredirect console telnet Pin
sneaker28-Jul-03 12:39
sneaker28-Jul-03 12:39 
GeneralDrawString Pin
icdma26-Jul-03 7:46
icdma26-Jul-03 7:46 
GeneralRe: DrawString Pin
icdma26-Jul-03 7:47
icdma26-Jul-03 7:47 
Generalusing voice input in c++ Pin
gondal26-Jul-03 1:00
gondal26-Jul-03 1:00 
Questionsystem object == true or false????? Pin
Phil C25-Jul-03 13:27
Phil C25-Jul-03 13:27 
AnswerRe: system object == true or false????? Pin
leppie25-Jul-03 13:45
leppie25-Jul-03 13:45 
GeneralRe: system object == true or false????? Pin
Phil C25-Jul-03 14:01
Phil C25-Jul-03 14:01 
QuestionCan I pass a __gc array ptr as a pinned C array? Pin
Jeremy Osner25-Jul-03 4:41
Jeremy Osner25-Jul-03 4:41 
AnswerRe: Can I pass a __gc array ptr as a pinned C array? Pin
Nemanja Trifunovic25-Jul-03 5:38
Nemanja Trifunovic25-Jul-03 5:38 
GeneralRe: Can I pass a __gc array ptr as a pinned C array? Pin
Jeremy Osner25-Jul-03 5:51
Jeremy Osner25-Jul-03 5:51 
GeneralRe: Can I pass a __gc array ptr as a pinned C array? Pin
Jeremy Osner25-Jul-03 6:19
Jeremy Osner25-Jul-03 6:19 
GeneralRe: Can I pass a __gc array ptr as a pinned C array? Pin
leppie25-Jul-03 7:03
leppie25-Jul-03 7:03 
GeneralRe: Can I pass a __gc array ptr as a pinned C array? Pin
Jeremy Osner25-Jul-03 7:54
Jeremy Osner25-Jul-03 7:54 

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.