<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Class_PictureButton]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14130&amp;type=atom" />
	<updated>2018-09-01T16:03:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14130</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128419#p128419" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>Подумаю, что с этим можно сделать</p></blockquote></div><div class="codebox"><pre><code>+BackgroundTrans</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-09-01T16:03:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128419#p128419</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128418#p128418" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Но этот вариант не подойдет  если цвет у гуи неоднородный.</p></blockquote></div><p>Подумаю, что с этим можно сделать. Если фон родительского окна не будет меняться, то задача вполне решима.<br /></p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Я бы поизучал другие коды со схожей функциональностью, но работающие при таких настройках.</p></blockquote></div><p>Что-нибудь, да поищу. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Сейчас работаю над текстом, который будет в кнопке.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T16:00:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128418#p128418</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128417#p128417" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>В функции load_iconset(path_bitmap,bkg), есть параметр bkg, используйте для него такой цвет фона, который будет сливаться с фоном родительского окна</p></blockquote></div><p>Но этот вариант не подойдет&nbsp; если цвет у гуи неоднородный.<br /></p><div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>С этим не знаю, что делать.</p></blockquote></div><p>Я бы поизучал другие коды со схожей функциональностью, но работающие при таких настройках.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-09-01T15:56:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128417#p128417</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128416#p128416" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>А чтобы посмотреть, как выглядят кнопки без прозрачности - уберите галочку с Use visual styles on windows and buttons.</p></blockquote></div><p>В функции load_iconset(path_bitmap,bkg), есть параметр bkg, используйте для него такой цвет фона, который будет сливаться с фоном родительского окна. В данном случае цвет - 0xF0F0F0.</p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Чтобы воспроизвести у себя этот баг - уберите галочку с Enable desktop composition.</p></blockquote></div><p>С этим не знаю, что делать.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T15:47:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128416#p128416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128413#p128413" />
			<content type="html"><![CDATA[<p>Чтобы воспроизвести у себя этот баг - уберите галочку с Enable desktop composition.<br />А чтобы посмотреть, как выглядят кнопки без прозрачности - уберите галочку с Use visual styles on windows and buttons.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-09-01T14:31:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128413#p128413</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128412#p128412" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, обновили библиотеку gdip.ahk и gdiplus.dll? Скачайте заново с гита. Библиотека gdiplus.dll должна находится в папке с примерами.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T14:22:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128412#p128412</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128410#p128410" />
			<content type="html"><![CDATA[<p>Баг продолжается.<br />Нажимаем на одну из кнопок - появляется msgbox.<br />Не закрывая msgbox активируем окно с кнопками - кнопки исчезли.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-09-01T14:15:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128410#p128410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128408#p128408" />
			<content type="html"><![CDATA[<p>Сейчас примеры вроде нормально работают.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-09-01T14:06:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128408#p128408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128405#p128405" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, так вы скрипт обновите. Я перезалил. В <a href="http://forum.script-coding.com/viewtopic.php?pid=128391#p128391">23 посте</a> написал об проблеме при минимизации окна.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T13:15:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128405#p128405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128402#p128402" />
			<content type="html"><![CDATA[<p>В Sample_01.ahk я <em>WM_SYSCOMMAND(wParam)</em> не обнаружил. Где его искать?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-09-01T10:44:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128402#p128402</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128400#p128400" />
			<content type="html"><![CDATA[<p>Есть предположение, поменяйте хук. Если при разворачивании, не появляется msgbox, то дело в хуке.<br /></p><div class="codebox"><pre><code>WM_SYSCOMMAND(wParam) {
	Gui, %hTerminal%:Default
	if (wParam=0xF120) { ;SC_RESTORE
		msgbox
		Gui,Show
		PictureButton.show(-1)
	} else if (wParam=0xF020) { ;SC_MINIMIZE
		WinMinimize
		return 0
	}
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T00:23:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128400#p128400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128399#p128399" />
			<content type="html"><![CDATA[<p>У меня сейчас сработало с новой библиотекой, но после минимизации все кнопки пропадают.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-09-01T00:18:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128399#p128399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128398#p128398" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>UPD. Нашел ту же библиотеку от tic&#039;a, вроде как пишут, что поддерживает x64.</p></blockquote></div><p>Т.е. эта не работает?<br /></p><div class="quotebox"><cite>MandarinKa02 пишет:</cite><blockquote><p>Я использую отсюда: https://github.com/tariqporter/Gdip.</p></blockquote></div><p>Или вы сейчас об этой?</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T00:13:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128398#p128398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128397#p128397" />
			<content type="html"><![CDATA[<p>Нет, я уже писал выше.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-09-01T00:11:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128397#p128397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Class_PictureButton]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=128396#p128396" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, к сожалению, с этим не поспоришь. Только методом проб и ошибок.<br />Так-с, заработала библиотека из 27 поста?</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-09-01T00:06:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=128396#p128396</id>
		</entry>
</feed>
