<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16018&amp;type=atom" />
	<updated>2021-01-26T03:30:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16018</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145474#p145474" />
			<content type="html"><![CDATA[<p>Исправил для поддержки с учетом A_ScreenDPI.<br />Интересно, что при нескольких десктопах работать не будет.<br />То есть с одного десктопа на другой не перетащится.<br />Проверить пока не на чем.<br />Наверное проблема где-то тут:<br /><a href="https://www.autohotkey.com/boards/viewtopic.php?f=76&amp;t=67642">https://www.autohotkey.com/boards/viewt … mp;t=67642</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-26T03:30:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145474#p145474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145406#p145406" />
			<content type="html"><![CDATA[<p>Думаю, если заранее не известно, то не стоит без тестов инжектить.<br />Так как оно может полететь.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T14:22:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145406#p145406</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145405#p145405" />
			<content type="html"><![CDATA[<p>Например если стороннее приложение заранее не известно.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2021-01-24T14:17:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145405#p145405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145403#p145403" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Значит надо использовать оба метода, ведь старые приложения могут не поддерживать OleDropTargetInterface, а новые WM_DROPFILES</p></blockquote></div><p>Зачем оба?<br />Не понимаю чего ты хочешь добиться.<br />Инжект нужен только для автоматизации отправки в стороннее приложение.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T14:06:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145403#p145403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145402#p145402" />
			<content type="html"><![CDATA[<p>Ясно, WM_DROPFILES устаревший метод. Значит надо использовать оба метода, ведь старые приложения могут не поддерживать OleDropTargetInterface, а новые WM_DROPFILES.<br />По мне, как то странно выглядит, то что в новом интерфейсе необходим инжект. <br />А если переносить что то из такого современного стороннего приложения в своё, то в своём тоже надо реализовать интерфейс. Я так понял у тебя описана только отправка.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2021-01-24T14:01:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145402#p145402</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145399#p145399" />
			<content type="html"><![CDATA[<p>Можешь тут почитать:<br /><a href="https://www.codeproject.com/Articles/840/How-to-Implement-Drag-and-Drop-Between-Your-Progra">https://www.codeproject.com/Articles/84 … our-Progra</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T13:09:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145399#p145399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145398#p145398" />
			<content type="html"><![CDATA[<p>В смысле для своей программы?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T12:48:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145398#p145398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145397#p145397" />
			<content type="html"><![CDATA[<p>Есть какие то случаи когда рекомендуется использовать одно или другое?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2021-01-24T12:46:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145397#p145397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145396#p145396" />
			<content type="html"><![CDATA[<p>Нет, это абсолютно разные интерфейсы.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T12:37:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145396#p145396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145395#p145395" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>А зачем встраивать OleDropTargetInterface, а потом его не использовать, а использовать WM_DROPFILES?</p></blockquote></div><p>Я по твоему ответу решил что это одно и тоже. </p><p>Я просто хочу понять, где то не работает WM_DROPFILES, и нужен инжект. Или это ещё один способ drag and drop, функционально не отличный от WM_DROPFILES.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2021-01-24T12:10:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145395#p145395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145394#p145394" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Так вроде такое уже было на AHK форуме?</p></blockquote></div><p>Было, но без встраивания координат.<br />А с нулевыми координатами работать будет не везде.<br />Ну и плюс в том коде постоянно происходил инжект, в чем совершенно нет необходимости.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T12:06:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145394#p145394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145393#p145393" />
			<content type="html"><![CDATA[<p>Такой проверки я не делал.<br />А зачем встраивать OleDropTargetInterface, а потом его не использовать, а использовать&nbsp; WM_DROPFILES?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T12:05:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145393#p145393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145392#p145392" />
			<content type="html"><![CDATA[<p>Так вроде такое уже было на AHK форуме?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-01-24T12:02:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145392#p145392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145390#p145390" />
			<content type="html"><![CDATA[<p>Так у тебя же тут выход. А если поддерживается то и WM_DROPFILES сработает?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2021-01-24T11:56:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145390#p145390</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Эмулирование drag and drop в стороннее приложение через инжект]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=145389#p145389" />
			<content type="html"><![CDATA[<p>Да. Это проверяет эта часть:<br /></p><div class="codebox"><pre><code>   if !DllCall(&quot;user32\GetProp&quot;, &quot;ptr&quot;, Hwnd, &quot;str&quot;, &quot;OleDropTargetInterface&quot;, &quot;ptr&quot;)
   {
      msgbox no OleDropTargetInterface
      exitapp
   }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2021-01-24T11:50:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=145389#p145389</id>
		</entry>
</feed>
