Логин:

Пароль:

Форумы
Общие вопросы
Document Object Model
Обсуждаем конференцию
Web Usability (test)

Общие вопросы

с AtomicSelection кто-нибудь работал???

Есть <iframe id=editArea contentEditable=true>
Как для него выполнить IDM_ATOMICSELECTION command?

пробовал
editArea.document::SetAtomicSelection(true);
editArea.document.execCommand("AtomicSelection",false,true);
не канает...

В msdn пишут следующее:

If the document is not in atomic selection mode, the ATOMICSELECTION attribute is ignored. Turn on the atomic selection mode by executing the IDM_ATOMICSELECTION command with the value of true.

CHtmlEditCtrlBase::SetAtomicSelection
Set atomic selection mode.

HRESULT SetAtomicSelection(
bool bNewValue
) const;
СообщениеАвторДата
TS23.08.2004 11:35