CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2005
    Location
    Chennai,India
    Posts
    136

    Thumbs up How To Get Full Path of the Selected Object in Context Menu

    Hi Gurus,
    I want to get the Full Path With the filename when a context menu gets clicked. I have created Context menu & it works . Now i want to get the Full path of the selected Object.

    Thanx in Advance,

    Regards,
    Revolution..

  2. #2
    Join Date
    Jul 2005
    Location
    Germany
    Posts
    1,194

    Re: How To Get Full Path of the Selected Object in Context Menu

    I don't understand what you are trying to achieve.
    You said you created a context menu.
    Do you mean a menu which pops up when you right-click on something?
    And on what are you clicking and in which control element?
    What are the items in the menu?
    Please don't forget to rate users who helped you!

  3. #3
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: How To Get Full Path of the Selected Object in Context Menu

    Are you talking about an explorer context menu ? Are you implementing a shell extension by any chance ?

  4. #4
    Join Date
    Aug 2005
    Location
    Chennai,India
    Posts
    136

    Smile Re: How To Get Full Path of the Selected Object in Context Menu

    Yes Gurus You people are right. I am Talking about Explorer Context menu.
    When a File is Right Clicked my menu appears there & it works fine.
    Now i want to get the Full path & the File name of the file right clicked.
    I even got the Full path , but i could not get the Current File. I checked the MS SDK Sample Shellext, i used GetDisplaynameof(), i couldnt make it since the STRRETTOBUF() is nt working,even with the Latest LIB's .

    Now tell me waht can i do...

    Regards,
    Revolution.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured