Difference between revisions of "LMD VCL - LMD Packs"
From LMD
m (→Using Paste/Copy commands at runtime) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
==LMD ShellPack== | ==LMD ShellPack== | ||
===Using Paste/Copy commands at runtime=== | ===Using Paste/Copy commands at runtime=== | ||
− | + | Copy: | |
+ | <syntaxhighlight lang="delphi"> | ||
+ | if assigned(LMDShellList1.selected) then | ||
+ | LMDShellDoContextMenuVerb( LMDShellList1, (LMDShellList1.Selected as TLMDShellListItem).ShellItem, 'copy'); | ||
+ | </syntaxhighlight> | ||
+ | Paste: | ||
+ | <syntaxhighlight lang="delphi"> | ||
+ | LMDShellDoContextMenuVerb( LMDShellList2, LMDShellFolder2.ActiveFolder,'paste'); | ||
+ | </syntaxhighlight> | ||
==LMD RichPack== | ==LMD RichPack== | ||
Line 19: | Line 27: | ||
===[Linker Error] Unresolved external "InternetCloseHandle" referenced from=== | ===[Linker Error] Unresolved external "InternetCloseHandle" referenced from=== | ||
Simply add wininet.lib to your project (file can be found in \lib directory of your C++ Builder / BDS / CRS installation). In recent IDEs you can also add<br> | Simply add wininet.lib to your project (file can be found in \lib directory of your C++ Builder / BDS / CRS installation). In recent IDEs you can also add<br> | ||
− | < | + | <syntaxhighlight lang="cpp"> |
− | + | #pragma link "wininet.lib" | |
− | + | </syntaxhighlight> in your code. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 13:09, 28 April 2022
<< Back to Overview page
Contents
LMD ShellPack
Using Paste/Copy commands at runtime
Copy:
if assigned(LMDShellList1.selected) then
LMDShellDoContextMenuVerb( LMDShellList1, (LMDShellList1.Selected as TLMDShellListItem).ShellItem, 'copy');
Paste:
LMDShellDoContextMenuVerb( LMDShellList2, LMDShellFolder2.ActiveFolder,'paste');
LMD RichPack
Which MS RichEdit DLL Version can I expect on a specific operating system?
Please check list of different RichEdit versions.
Searching for specific attributes
Q: I was trying out the LMD RTF wrapper (using BCB 6) and wanted to know what would be the best way to search for words or characters with a specific attribute.
A:
- Use FindTextEx
- Check SelAttributes
if attrs not ok then FindTextEx again.
LMD WebPack
[Linker Error] Unresolved external "InternetCloseHandle" referenced from
Simply add wininet.lib to your project (file can be found in \lib directory of your C++ Builder / BDS / CRS installation). In recent IDEs you can also add
#pragma link "wininet.lib"