<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Поломался Gdip_BitmapFromHWND.]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17437&amp;type=atom" />
	<updated>2022-10-30T12:41:15Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=17437</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155481#p155481" />
			<content type="html"><![CDATA[<p>А насчет недокумментированности, возможно, что в будущих версиях виндовс этот параметр изменят либо вообще уберут.<br />Например, мне тут пришлось поизучать недокументированное virtual desktop api.<br />Вот там можно реально увидеть, как с каждой версией виндовс меняются guid интерфейсы, добавляются новые методы и вставляются не в конец, а между старыми, тем самым ,меняя очередность.<br /><a href="https://github.com/MScholtes/VirtualDesktop">https://github.com/MScholtes/VirtualDesktop</a><br />Но тем не менее это api используется в коммерческих целях в массовом производстве.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-30T12:41:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155481#p155481</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155475#p155475" />
			<content type="html"><![CDATA[<p>Потому что приложение само себя отрисовывает и перенаправляет.<br /></p><div class="quotebox"><blockquote><p>UpdateLayeredWindow should be used primarily when the application must directly supply the shape and content of a layered window, without using the redirection mechanism the system provides through SetLayeredWindowAttributes. In addition, using UpdateLayeredWindow directly uses memory more efficiently, because the system does not need the additional memory required for storing the image of the redirected window.</p></blockquote></div><p><a href="https://learn.microsoft.com/en-us/windows/win32/winmsg/window-features#layered-windows">https://learn.microsoft.com/en-us/windo … ed-windows</a><br />Если тебя механизм заинтересовал, то тут подробнее описывается.<br /><a href="https://dwayneneed.github.io/wpf/2008/09/08/transparent-windows-in-wpf.html">https://dwayneneed.github.io/wpf/2008/0 … n-wpf.html</a><br /><a href="https://dwayneneed.github.io/wpf/2013/02/26/mitigating-airspace-issues-in-wpf-applications.html">https://dwayneneed.github.io/wpf/2013/0 … tions.html</a><br />И вот познавательная статья про directcomposition:<br /><a href="https://learn.microsoft.com/en-us/archive/msdn-magazine/2014/june/windows-with-c-high-performance-window-layering-using-the-windows-composition-engine">https://learn.microsoft.com/en-us/archi … ion-engine</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-29T14:34:34Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155475#p155475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155472#p155472" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>можно догадаться</p></blockquote></div><p>Кстати, как?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T11:09:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155472#p155472</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155471#p155471" />
			<content type="html"><![CDATA[<p>Напрямую нигде не написано, но можно догадаться, что, например, не получится захватить окно созданное через updatelayeredwindow через getdc.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-29T11:07:51Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155471#p155471</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155469#p155469" />
			<content type="html"><![CDATA[<p>Ну они как то описывают их цель, о чём то предупреждают. Обещать за каждое окно они не могут.<br />Если например оно с DIRECTX не работает, то наверняка можно найти этому где то в справке объяснение. имхо.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:59:10Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155469#p155469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155468#p155468" />
			<content type="html"><![CDATA[<p>Так msdn ничего в своих api и не обещают.<br />С некоторыми окнами работают одни апи, с некоторыми другие, а с некоторыми только через инжект приложения, либо взлом dwmcore.dll.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-29T10:55:06Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155468#p155468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155465#p155465" />
			<content type="html"><![CDATA[<p>Да нет конечно, подошло к чему то, и хорошо.<br />Это я так, про термины тестовое или недокументированное. )</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:47:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155465#p155465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155461#p155461" />
			<content type="html"><![CDATA[<p>А цель какая?<br />Использовать PW_RENDERFULLCONTENT в массовом производстве?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-29T10:42:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155461#p155461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155458#p155458" />
			<content type="html"><![CDATA[<p>Так а что тестировать, когда ничего не обещают.)</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:39:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155458#p155458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155457#p155457" />
			<content type="html"><![CDATA[<p>MSDN много чего документировать не хотят, но я ее не тестировал вдоль и поперек, так что сказать не могу.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-29T10:38:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155457#p155457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155452#p155452" />
			<content type="html"><![CDATA[<p>Про её возможности что то известно? <br /></p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Недокументированная.</p></blockquote></div><p>Или всё таки тестовая, есть какие-то баги, и потому её документировать не хотят.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:29:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155452#p155452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155450#p155450" />
			<content type="html"><![CDATA[<p>Нет.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2022-10-29T10:21:16Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155450#p155450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155449#p155449" />
			<content type="html"><![CDATA[<p>в 7ке есть?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:11:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155449#p155449</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155448#p155448" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Недокументированная</p></blockquote></div><p>А с какой версии, хз?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:11:22Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155448#p155448</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поломался Gdip_BitmapFromHWND.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155447#p155447" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>dwmregisterthumbnail</p></blockquote></div><p>Это тема, я его для вывода копии видео из окна использовал.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2022-10-29T10:10:51Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155447#p155447</id>
		</entry>
</feed>
