Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / December 2004

Tip: Looking for answers? Try searching our database.

VSIP question: what's the context within the editor?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sergey M - 30 Nov 2004 17:00 GMT
Hi all,

I have few commands and menus that are added to the main edit menu
(bookmarks and advanced). I'm trying to set context for those commands
and menus in the .ctc file in VISIBILITY_SECTION to UICONTEXT_CodeWindow
hoping that command will only be applicable when user right clicks on
the editor window. That doesn't seem to have any effect and
commands/menus don't show up at all. Any ideas what might be causing it?

For the records, I have few other commands that are added to Tools menu
with UICONTEXT_SolutionExists context and that works fine. I'd
appreciate any help. Thanks in advance.
Signature

Sergey M
http://www.usysware.com/dpack/

Sergey M - 01 Dec 2004 06:19 GMT
I think I may have found the correct visibility context for commands
to only show up while editing a file. The context guid for that is
GUID_TextEditorFactory. Hope this helps someone.
Signature

Sergey Mishkovskiy
http://www.usysware.com/dpack/

> Hi all,
>
[quoted text clipped - 5 lines]
> have any effect and commands/menus don't show up at all. Any ideas
> what might be causing it?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.