<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Смена курсора]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13053</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13053&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Смена курсора».]]></description>
		<lastBuildDate>Wed, 04 Oct 2017 11:37:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Смена курсора]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119804#p119804</link>
			<description><![CDATA[<div class="codebox"><pre><code>OnMessage(0x200, &quot;WM_MOUSEMOVE&quot;) ; При передвижении курсора, вызывать функцию WM_MOUSEMOVE

Gui, Font, cBlue Underline
Gui, Add, Text, vMyText x10 y10 gLink, Наведи на меня ; Добавляем элемент Text с хендлом MyText и вызовом подпрограммы Link при клике по элементу
Gui, Add, Text, vMyText1 x10 y50 gLink, Наведи 2
Gui, Add, Text, vMyText2 x10 y100 gLink, Наведи 209
Gui, Margin, 10, 10
Gui, Show
return

Link:
Run, http://ahk-power.ru
return

WM_MOUSEMOVE(wParam, lParam, msg, hwnd)
{
global
MouseGetPos, , , id, control, 1
GuiControlGet, OutputVar, Name, % control
If (RegExReplace(OutputVar, &quot;MyText.*&quot;, &quot;MyText&quot;) = &quot;MyText&quot;)
	DllCall(&quot;SetCursor&quot;, uint, DllCall(&quot;LoadCursor&quot;, int, 0, int, 32649)) ; Установить курсор 32649
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Странникх)]]></author>
			<pubDate>Wed, 04 Oct 2017 11:37:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119804#p119804</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Смена курсора]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=119801#p119801</link>
			<description><![CDATA[<p>Ребят подскажите как сделать так что б при наведении на определённый текст менялся курсор <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Не знаю как описать, типо что бы нажать можно<br />У меня есть код, но у меня не одна ссылка а несколько...Я не знаю как сделать что бы работали все...<br /></p><div class="codebox"><pre><code>OnMessage(0x200, &quot;WM_MOUSEMOVE&quot;) ; При передвижении курсора, вызывать функцию WM_MOUSEMOVE

Gui, Font, cBlue Underline
Gui, Add, Text, hwndMyText x10 y10 gLink, Наведи на меня ; Добавляем элемент Text с хендлом MyText и вызовом подпрограммы Link при клике по элементу
Gui, Margin, 10, 10
Gui, Show
return

Link:
Run, http://ahk-power.ru
return

WM_MOUSEMOVE(wParam, lParam, msg, hwnd)
{
global
if (hwnd = MyText) ; Если хендл, на котором сейчас стоит курсор, это MyText, то...
DllCall(&quot;SetCursor&quot;, uint, DllCall(&quot;LoadCursor&quot;, int, 0, int, 32649)) ; Установить курсор 32649
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (andrew.drob71)]]></author>
			<pubDate>Wed, 04 Oct 2017 09:20:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=119801#p119801</guid>
		</item>
	</channel>
</rss>
