hidden folder

W

wlan

Hi,

How do i check whether a folder is hidden or not?

I have reference to RDOFolder2. Is there any property which identifies it as
hidden. If so, how do I differentiate.
 
K

Ken Slovak - [MVP - Outlook]

There's no specific property that identifies a folder that's hidden, it all
depends on where it lives. Any folder under the IPM_SUBTREE folder in a
store is visible. Any folder in any of the other areas under the store
RootFolder are not visible. That includes folders under Common Views,
Finder, Views, etc.
 
D

Dmitry Streblechenko

You can set pidTagAttributeHidden (0x10F4) property to hide a folder (you'd
need to restart Outlook for the changes to take effect).

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
D

Dmitry Streblechenko

No, I think any store would do - it is Outlook that hides the folder from
the list, the store provider still exposes the folder in the usual way.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
K

Ken Slovak - [MVP - Outlook]

Hmm, I see it when I'm in an EX store, not at all in PST stores. I'll play
and see if I can add the prop to a folder in a PST store and see if it
works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top