If the Treelist is empty I would like to popup the Menu for the ParentDirectory.
ChangedShellParentFolder.GetUIObjectOf(hnd, aFileList.Count, ItemIDListArray^[0], IID_IContextMenu, nil, CM) IntoShellParentFolder.GetUIObjectOf(hnd, 1, ParentFolderPIDL, IID_IContextMenu, nil, CM);
But somehow the CM stays nil.
Use PopupMenu for Parent Directory
If the Treelist is empty I would like to popup the Menu for the ParentDirectory.
Changed
ShellParentFolder.GetUIObjectOf(hnd, aFileList.Count, ItemIDListArray^[0], IID_IContextMenu, nil, CM)
ShellParentFolder.GetUIObjectOf(hnd, 1, ParentFolderPIDL, IID_IContextMenu, nil, CM);
Into
But somehow the CM stays nil.