[RESOLVED] Gallery
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: [RESOLVED] Gallery

  1. #1
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    [RESOLVED] Gallery

    In VS 6.0, there was this feature of Add to Gallery , which was pretty handy at times, I would like to ask for the particular reason to drop this in VS .Net IDE.
    Share on Google+

  2. #2
    Join Date
    Jun 2006
    Posts
    4

    Re: Gallery

    I miss the Gallery too. What are the "best practices" for sharing MFC dialogs (with the C++ class) right now?
    Share on Google+

  3. #3
    Join Date
    May 2006
    Posts
    2

    Re: Gallery

    That's indeed a pretty cool feature that has disappeared from the product. You can do something a little similar but not as powerful using the toolbox. You can highlight a piece of code and drag it onto the toolbox. A new item will be added to the toolbox with a "Text" prefix. This item will serve as a token that pastes that piece of code anywhere else you may like.

    Boris Jabes
    Visual C++
    Share on Google+

  4. #4
    Join Date
    Dec 2005
    Posts
    16

    Re: Gallery

    Quote Originally Posted by borisj
    That's indeed a pretty cool feature that has disappeared from the product. You can do something a little similar but not as powerful using the toolbox. You can highlight a piece of code and drag it onto the toolbox. A new item will be added to the toolbox with a "Text" prefix. This item will serve as a token that pastes that piece of code anywhere else you may like.
    That sounds like code duplication instead of reusing a single source?
    Share on Google+

  5. #5
    Join Date
    May 2006
    Posts
    13

    Re: Gallery

    Yes, that would be copying as opposed to reusing. We really don't have a good replacement for the component gallery. That was one of the features that we lost between the vc6->vc7 "rewrite". Not a whole lot of people asked for it, so we never put it back.

    Your best workaround now is probably to share .cpp/.h in your source hierarchy, use static libraries, or use some other sort of manual mechanism.

    Thanks,
    Tarek Madkour
    --
    Lead Program Manager
    Microsoft Visual C++
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center