How to set Menu Help Text in Window Custom ShellExtension popup menu Item - contextmenu

I need to set the menu help text of my shell context menu popup menu item just like winzip shellContext menu. I tried IContextMenu_GetCommandString but it is only setting menu help for sub menus of my main popup menu. Please help me and let me know how to set the menu help for my main poup menu?
Thanks

In case you haven't solved this already, here is what worked for me.
You need to insert your popup menu into the explorer menu using InsertMenuItem, as described here. This allows you to give your popup menu an ID.
The shell passes that ID into IContextMenu_GetCommandString when querying the items, by way of checking for that ID you can return any help string you need.
However, it may simply not be displayed if you right-click on a folder in the (left) folders pane of explorer, and not in the files pane to the right. On my system, if one or more elements are selected in the files pane, the properties (type, size, name and some more stuff) are displayed in the status bar, even if I right-click on any folder in the folders pane.
This seems to be standard behaviour - at least on my system it's the same for all installed custom extensions and even for the default explorer menus.

Related

How to edit storyboard in Xcode

Every now and then, I see tutorials allowing to add components to a storyboard by clicking a plus sign on the right up corner of the editor:
Bu I do not have this button. And it seems that there is no menu available.
I have to say that I'm trying to modify the storyboard outside of any project by opening the file alone.
Any help appreciated.
The plus button should be available on the right side of Project Header Section[Tool Bar] as Shown in the image
Based on the selected file different screens will be opened when we click on the + button.
We can also use the keyboard shortcut cmd+shift+L
Verified on Xcode Version 14.1 (14B47b)
Update:
As this option is available on the Toolbar, it may not be available if the toolbar itself is hidden. To toggle the visibility of toolbar we can use the shortcut cmd+option+T

xcode xcworkspace open without tools or Navigator?

I just oen the xcode "xcworkspace" it's open directly to the small screen without any tools or bars how can i back to the normal workspace ?
Try below option may be it will work
Right-click on the toolbar area beside your project title, i think you can see 'Show Toolbar' option & click it.
On the far right of this toolbar, click the leftmost 'Show Navigator' button in the group of three 'View' icons.
This should present your project in the navigator on the left for you to access.

Assistant editor(Xcode 7.3) always showing interface file in storyboard , even when I choose manually

Even after deleting derived data many times, and trying other things, I am still facing this problem. Can you help me?
You can try using the shortcut key instead, to open up the assistant editor.
Shortcut key: -
option + click on the file which you want to open up in the assistant editor
Guys I just stop dealing with this problem by changing the settings in xcode 9.2. And now i use Navigation Pane.
Here is how it works :
Ok now if you go to xcode -> preferences -> navigation
and Choose the "Uses Focused Editor" as in the picture below.
Now you can manually select inside the Navigation Pane.
Just click whichever page you would like to change and select in the Navigation Pane.
Here is a few screenshots :
Pictures shows code files but it works with everything you can click in the Navigation Pane.
Try to drag and drop file from the Project Navigator into the path of the Assistant Editor as temporary fix.
You also can click on this icon to bring recent files.
Try to clean your project, clean Build Folder, restart Xcode.
Make sure the view controller in your Storyboard has correct custom class name.
I think I know the problem you're having. I experience it too, but it's intermittent. Sometimes clicking Manual shows me the entire project folder and I can select the editable classes, but other times it only shows the interface versions of them, which aren't editable and cannot have IBOutlets dragged to them (you can tell b/c it'll say internal class and has less code). I have noticed that if I toggle back and forth between Automatic and Manual, I can usually get the editable class to appear. I also will toggle the assistant editor off, select a different View Controller or two on the storyboard, then go back to my original one, turn the Assistant Editor back on, and it starts working again.
There are other discussions of it here, here, and here. This suggestion of turning off indexing sounds intriguing and worth a try if the problem keeps reappearing. UPDATE: This trick with hitting the + and opening a 2nd file, then closing the interface file, worked great when I tried it just now.
Here are pics of how the Automatic side shows the actual file when the Manual side only shows the interface, which says internal next to class:

Adding "Paste" to the Shell Context Menu

I am using this routine to pop up the Shell Context Menu for a file name which is working well, except for one thing.
How to pop-up the Windows context menu for a given file using Delphi?
When I click "Copy" the menu closes as expected. If I move to another Folder or stay in the same one, when I right-click again for the Context Menu, it has no "Paste" option. Not even a grayed out one. I checked on the Poster's blog as mentioned in his Edit at the bottom, but that new routine crashes with Incorrect Parameter.
Can someone please assist with adding "Paste" to the original routine in the above link
Thanks
Look for TClipboard (library/uses ClipBrd). Using this you can manage a cliboard on Delphi.
More information: Basic CLipboard Operations
Obs.: You can use "Actions" too, depending your needs. See ActionManager component, and Action properties of your popupmenu.

How to bring back the full Xcode 4 interface?

This is crazy! I opened two separate editor windows by double-clicking in the files navigator. Then I closed Xcode.
Now, every time I open my project Xcode is completely gone. All I get are these two separate editor windows. I tried everything to get Xcode back, but when I open this particular project there is no Xcode interface - just the two lightweight editor windows.
Did anyone else encounter this problem? Is there anything else I can do, other than creating a blank new project from scratch and copying everything over?
There's no such thing as a "lightweight editor window" in Xcode 4. What you're seeing is a window that has the toolbar, tab bar, navigator pane, and utilities pane all hidden. You can show them again from the View menu.
To bring back everything:
View->Show Toolbar
View->Show Tab Bar
View->Navigators->Show Navigator
View->Utilities->Show Utilities
The last two can also be done from buttons on the toolbar.
Depending on what you expect the window to look like, you may also need to use View->Debug Area->Show Debug Area.
Select one of these editor windows, and then go to View -> Show toolbar. There is the rest of your interface.
Try going to the menu and selecting Navigate and "Reveal in Project navigator"
With the project open, select View > Show Toolbar.

Resources