English 中文(简体)
Outlook 2003 - Add an icon column to a View?
原标题:

I want to add a custom column to the Inbox which is a Yes/No column. I want an icon to show in the Yes case. How can I do this?

Everything I ve looked up is either about adding a column through the View.XML property, through UserProperties.Add with addToFolderFields = true, or through Field Chooser.

There are also a lot of forums where Dmitry from dimastr.com just tells people it s not possible to set an icon with no real explanation.

It s pretty frustrating - why would Outlook s UI support creating Icon fields if you can t set an icon for them?! Won t they just always be blank columns?!

Some alternative questions that would also help if they were answered:

  • What is the "bitmap" element in the View.XML of a <column>?

  • How can I set a userproperty as the value of a column using the "prop" element of a <column>?

  • Where can I find a description of the View.XML definition? Microsoft articles all have bad links.

最佳回答

Icons in the Header and icons in the column itself aren t possible without some kind of Windows API hacks on the column cells.

If someone has a good one, I ll mark it as an answer. Otherwise, I ll mark this ("Impossible") as the accepted answer.

EDIT: I looked with Spy++. Outlook s view is a "SUPERGRID" that is manually painted. You don t have access to individual cells. So that makes it a lot harder. A hack would have to like subclass the SUPERGRID and override some internal method or something. Then replace Outlook s SUPERGRID with the subclassed one. Or something equally terrible. I m thinking impossible is the only real answer...

问题回答

may you check that thread, therer might be an solution via form http://www.outlookcode.com/threads.aspx?forumid=3&messageid=31897





相关问题
C#和Lotus Notes附录一

我正在使用C#,并需要附上一张空白(shortcut/link)档案和电子邮件给一个彩票账户。 问题是一对一幅通用形象的不实之词,没有像......那样显示双fold。

Load the Default Icon For the Shell

The default icon in Vista is listed under: HKEY_CLASSES_ROOT Unknown DefaultIcon As: %SystemRoot%System32shell32.dll,0 I want to load a 48x48 version of that Icon in C++. I have tried: ...

How to access Google/Gmail/Gchat/Reader user icons

I m building a Google Reader client and wonder if it s possible to access a user s profile image (aka avatar) directly. When I navigate to the images in Reader itself, I find that they point to URLs ...

How to tell Windows Explorer to refresh its icons?

Once my installer finishes installing new versions of my application s exe, I d like to tell Explorer to use the new exe s icons for its shortcuts. However, I cannot figure out how to do this. From ...

Outlook 2003 - Add an icon column to a View?

I want to add a custom column to the Inbox which is a Yes/No column. I want an icon to show in the Yes case. How can I do this? Everything I ve looked up is either about adding a column through the ...

热门标签