开发者

Is there an API in Windows 7 for creating "split menu items"?

开发者_StackOverflow

I don't know what their official name is, but I mean these things:

Is there an API in Windows 7 for creating "split menu items"?

Is there an official API for creating those in my own program?

And related question: Did you ever see these "split menu items" used anywhere other than the start menu? Where? This could point at an API.


Glancing at my own start menu, I'm guessing that most are generated the same way "Recent Documents" used to be done. i.e., observing the files that programs open.

As for new APIs, this page might be a good place to start sniffing around: http://msdn.microsoft.com/en-us/library/ee461765%28VS.85%29.aspx


To create tasks like internet explorer etc, use ICustomDestinationList->AddUserTasks(), the recent items should show up for file types you are registered to handle (They are added by the open/save dialog or manually by calling SHAddToRecentDocs())

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜