Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Fri Aug 17, 2018 2:47 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Getting the Filetype from a FolderItem
PostPosted: Wed Mar 27, 2013 9:19 am 
Offline
User avatar

Joined: Sun Jul 12, 2009 10:15 am
Posts: 20
Location: Cuneo (Italy)
Hi all, I have a folderitem variable and a filetype set, I would like to get the icon from the filetype for the folderitem I have. How is possible to do that?

Thanks

_________________
Karim Gorjux
Blog • Business Site


Top
 Profile  
Reply with quote  
 Post subject: Re: Getting the Filetype from a FolderItem
PostPosted: Wed Mar 27, 2013 10:12 am 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
WIndows? OSX Cocoa? OSX Carbon?

I have Declares for OSX .... Sorry for CARBON.... (I originally said Cocoa...)

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Last edited by DaveS on Wed Mar 27, 2013 12:58 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Getting the Filetype from a FolderItem
PostPosted: Wed Mar 27, 2013 11:09 am 
Offline

Joined: Sun Jan 28, 2007 2:38 pm
Posts: 231
Oh Dave. Please share!


Top
 Profile  
Reply with quote  
 Post subject: Re: Getting the Filetype from a FolderItem
PostPosted: Wed Mar 27, 2013 12:03 pm 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
For the Windows side use SHGetFileInfo.

_________________
Boredom Software


Top
 Profile  
Reply with quote  
 Post subject: Re: Getting the Filetype from a FolderItem
PostPosted: Wed Mar 27, 2013 12:57 pm 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
JohnV wrote:
Oh Dave. Please share!

see what I can do tonight when I get home from work.

But remember what I have is for Carbon...... sorry.. not Cocoa... :(

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group