- How to get the items in the start menu ?
- Posted by timor.super@gmail.com on June 25th, 2007
Hi group,
I would like to get the items in the start menu -> programs folder,
for the current user.
How to do that ? is there an api that can do that ?
thanks for your help,
S.
- Posted by Kellie Fitton on June 25th, 2007
On Jun 25, 4:43 am, timor.su...@gmail.com wrote:
Hi,
You can use the following APIs to get the items in the start menu:
SHGetSpecialFolderLocation()
SHGetPathFromIDList()
FindFirstFile()
FindNextFile()
FindClose()
http://msdn2.microsoft.com/en-us/library/ms647814.aspx
http://msdn2.microsoft.com/en-us/library/ms647798.aspx
http://msdn2.microsoft.com/en-us/library/Aa364418.aspx
http://msdn2.microsoft.com/en-us/library/aa364428.aspx
http://msdn2.microsoft.com/En-US/library/aa364413.aspx
Kellie.
- Posted by Grzegorz Wróbel on June 25th, 2007
Kellie Fitton wrote:
It would be simpler to use SHGetSpecialFolderPath() instead of those
two. Use CSIDL_STARTMENU constant as the third parameter.
--
Grzegorz Wróbel
http://www.4neurons.com/
677265676F727940346E6575726F6E732E636F6D
- Posted by timor.super@gmail.com on June 25th, 2007
On 25 juin, 18:01, Grzegorz Wróbel </dev/n...@localhost.localdomain>
wrote:
thanks both for your answer, but I get differences between my start
menu and the folder in My Documents ...
Why ? Can I by pass this ?