Dear madshi,
Anything works perfectly now. I also tested it on Windows 98 and XP. Correct icons and texts. I suppose you will make a regular release of madCollection next time.
So thanks for the good (and fast) work!
Claus.
Search found 17 matches
- Thu Jul 27, 2006 7:43 am
- Forum: madShell
- Topic: missing GUIDs of control panel's subitems
- Replies: 7
- Views: 24394
- Thu Jul 27, 2006 7:42 am
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
Thanks for the tip. But indeed, the email did not came through my spam filter... May be filtered out by my provider. So my apologize for the inconveniences. But good news: Anything works perfectly now. I also tested it on Windows 98 and XP. Correct icons and texts. I suppose you will make a regular ...
- Tue Jul 18, 2006 12:24 pm
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
- Wed Jul 12, 2006 7:55 am
- Forum: madShell
- Topic: Special file properties like 'file type'
- Replies: 2
- Views: 13630
- Wed Jul 12, 2006 4:11 am
- Forum: madShell
- Topic: Special file properties like 'file type'
- Replies: 2
- Views: 13630
Special file properties like 'file type'
Hi,
does anybody know how to get the file type information, e.g. "Word Document" for *.doc files from a ShellObj(<path of file>) object? I studied the nice help, but did not yet found it.
Kind regards,
Claus.
does anybody know how to get the file type information, e.g. "Word Document" for *.doc files from a ShellObj(<path of file>) object? I studied the nice help, but did not yet found it.
Kind regards,
Claus.
- Tue Jul 11, 2006 4:12 am
- Forum: madShell
- Topic: missing GUIDs of control panel's subitems
- Replies: 7
- Views: 24394
- Mon Jul 10, 2006 1:01 pm
- Forum: madShell
- Topic: missing GUIDs of control panel's subitems
- Replies: 7
- Views: 24394
Dear madshi, To be honest, I'm not sure whether they all really have their own GUID in the shell object system. Since asking the GUID of some of those items works fine, it seems to me that it's probable that the items without a GUID really have no GUID. Yes, indeed. You are completely right! Only th...
- Mon Jul 10, 2006 4:23 am
- Forum: madShell
- Topic: missing GUIDs of control panel's subitems
- Replies: 7
- Views: 24394
missing GUIDs of control panel's subitems
Dear madshi, while browsing through the system folders using ShellObj's items, I found that most of control panel's subitems do not have a valid GUID (the ::{...} description), which is necessary for some things I want to do. They always result in the (correct) description. Example: While running th...
- Fri Jul 07, 2006 7:43 am
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
Here's my workaround to the GetSize(16) bug, which uses the ShellAPI unit and calculates the correct icons for all programs, folders, system folders etc. Also, Desktop gets it correct icon that way. :D :D But I still do not know for sure that this method works properly on all operating systems, but ...
- Fri Jul 07, 2006 6:48 am
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
Hello again! I also tried a shrinking routine using a bitmap to shrink the icon from always 32x32 to 16x16, but very often this doesn't look like very nice... procedure TForm1.TreeView1AdvancedCustomDrawItem(Sender: TCustomTreeView; Node: TTreeNode; State: TCustomDrawState; Stage: TCustomDrawStage; ...
- Thu Jul 06, 2006 8:12 am
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
- Thu Jul 06, 2006 8:10 am
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
Hi madshi, :D For example, DOC, XLS or MDB files, lying on my desktop, have 32x32 icons. Folders are okay. But PDF files, INI files, etc. have wrong icon. Seems to be anything that is a registered file. On the other hand, EXE files are okay; also - when I use GetIcon(32), all icons are coming okay w...
- Thu Jul 06, 2006 4:40 am
- Forum: madShell
- Topic: (probably) found a bug with ShellObj.GetIcon
- Replies: 9
- Views: 27237
(probably) found a bug with ShellObj.GetIcon
Hi! I don't know for sure, but I have a problem with the icon size for some shell objects. They appear to be 32x32 even if I use GetIcon(16). Folders and some special objects work perfectly. Here is my updated TreeView listing which now works pretty much like Explorer, but it shows also the files. I...
- Mon Jul 03, 2006 8:08 am
- Forum: madShell
- Topic: Wonderful Shell routines
- Replies: 7
- Views: 24371
Hi! :D You are very fast in replying. Well, indeed, ShellObj frees the memory pretty much like using temporary strings. That's fascinating! All I have to do is to put anything I want to do with the ShellObj structure within the WITH context. Outside the with structure the object is already freed. Al...
- Mon Jul 03, 2006 7:37 am
- Forum: madShell
- Topic: Wonderful Shell routines
- Replies: 7
- Views: 24371
Memory allocation/disallocation when using ShellObj calls
By the way: when I use the structure with ShellObj('c:\whatever.txt') do ... the madshell Unit allocates a new Shell object for performing the action with the shell item 'c:\whatever.txt'. Is the structure correctly dis-allocated when a procedure / the application ends or Do I have to dis-allocate s...