Клубове Дир.бг
powered by diri.bg
търси в Клубове diri.bg Разширено търсене

Вход
Име
Парола

Клубове
Dir.bg
Взаимопомощ
Горещи теми
Компютри и Интернет
Контакти
Култура и изкуство
Мнения
Наука
Политика, Свят
Спорт
Техника
Градове
Религия и мистика
Фен клубове
Хоби, Развлечения
Общества
Я, архивите са живи
Клубове Дирене Регистрация Кой е тук Въпроси Списък Купувам / Продавам 05:01 11.06.24 
Клубове/ Компютри и Интернет / Delphi Всички теми Следваща тема Пълен преглед*
Информация за клуба
Тема Re: Copy&Paste... [re: NickBass]
Автор NDeu (динозавър)
Публикувано05.07.06 09:27  



Имаше преди години тука някой, който се ровеше в този проблем. Виж дали няма да го изровиш от архива.
Но решението май е в API-то.
Вж. GetClipboardData и SetClipboardData
The GetClipboardData function retrieves data from the clipboard in a specified format. The clipboard must have been opened previously.

HANDLE GetClipboardData(

UINT uFormat // clipboard format
);


Parameters

uFormat

Specifies a clipboard format. For a description of the clipboard formats, see the SetClipboardData function.

========================
HANDLE SetClipboardData(

UINT uFormat, // clipboard format
HANDLE hMem // data handle
);
..........
Remarks

The uFormat parameter can identify a registered clipboard format, or it can be one of the following values:

Value Meaning
.......................
CF_LOCALE The data is a handle to the locale identifier associated with text in the clipboard. When you close the clipboard, if it contains CF_TEXT data but no CF_LOCALE data, the system automatically sets the CF_LOCALE format to the current input locale. You can use the CF_LOCALE format to associate a different locale with the clipboard text.An application that pastes text from the clipboard can retrieve this format to determine which character set was used to generate the text.Note that the clipboard does not support plain text in multiple character sets. To achieve this, use a fomatted text data type such as RTF instead.Windows NT: The system uses the code page associated with CF_LOCALE to implicitly convert from CF_TEXT to CF_UNICODETEXT. Therefore, the correct code page table is used for the conversion.
......

Редактирано от NDeu на 05.07.06 09:38.



Цялата тема
ТемаАвторПубликувано
* Copy&Paste... NickBass   04.07.06 18:13
. * Re: Copy&Paste... NDeu   05.07.06 09:27
. * Re: Copy&Paste... NickBass   05.07.06 15:09
. * Re: Copy&Paste... NDeu   06.07.06 09:08
. * Re: Copy&Paste... NickBass   06.07.06 17:58
Клуб :  


Clubs.dir.bg е форум за дискусии. Dir.bg не носи отговорност за съдържанието и достоверността на публикуваните в дискусиите материали.

Никаква част от съдържанието на тази страница не може да бъде репродуцирана, записвана или предавана под каквато и да е форма или по какъвто и да е повод без писменото съгласие на Dir.bg
За Забележки, коментари и предложения ползвайте формата за Обратна връзка | Мобилна версия | Потребителско споразумение
© 2006-2024 Dir.bg Всички права запазени.