// JP opened flex table

Click to See Complete Forum and Search --> : [RESOLVED] Gallery


Ejaz
June 21st, 2006, 08:37 AM
In VS 6.0, there was this feature of Add to Gallery (http://www.codeproject.com/tips/vcgallery.asp) , which was pretty handy at times, I would like to ask for the particular reason to drop this in VS .Net IDE.

wdstevens
June 21st, 2006, 10:33 AM
I miss the Gallery too. What are the "best practices" for sharing MFC dialogs (with the C++ class) right now?

borisj
June 22nd, 2006, 04:05 PM
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++

ABuenger
June 22nd, 2006, 05:05 PM
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?

tarekmadkour
June 23rd, 2006, 08:43 PM
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,

//JP added flex table