<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Подсказка ToolTip]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=10166&amp;type=atom" />
	<updated>2014-11-19T21:07:56Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=10166</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88478#p88478" />
			<content type="html"><![CDATA[<p>Действительно работает, значит был не прав.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-11-19T21:07:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88478#p88478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88475#p88475" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Расслабьтесь, когда скрипт демонстрирует меню, он прекращает всякую активность. Отслеживать что-либо в данный момент невозможно.</p></blockquote></div><p>Я бы так не сказал, кое чего можно:<br /></p><div class="codebox"><pre><code>
SetWinEventHook(0x8005, 0x8005, 0, RegisterCallback(&quot;Focus&quot;, &quot;F&quot;),0,0,0)    ;    EVENT_OBJECT_FOCUS := 0x8005
Menu, MenuName, Add, 1, Return
Menu, MenuName, Add, 2, Return 
Gui, Show, w111 h11
Menu, MenuName, Show, 1, 1 
Return: 
    Return   
    
Focus(hWinEventHook, event, hwnd, idObject, idChild, dwEventThread, dwmsEventTime)   {
    ToolTip % idChild
} 

SetWinEventHook(eventMin, eventMax, hmodWinEventProc, lpfnWinEventProc, idProcess, idThread, dwFlags) {
    Return DllCall(&quot;SetWinEventHook&quot; , &quot;UInt&quot;, eventMin, &quot;UInt&quot;, eventMax, &quot;Ptr&quot;, hmodWinEventProc
            , &quot;Ptr&quot;, lpfnWinEventProc, &quot;UInt&quot;, idProcess, &quot;UInt&quot;, idThread, &quot;UInt&quot;, dwFlags, &quot;Ptr&quot;)
}
</code></pre></div><p>Может по хоткею не получится, но пофантазировать всё же можно.</p><div class="quotebox"><cite>red2881 пишет:</cite><blockquote><p>из того что получил Child id:1 Child id:2 (Меню на 2 позиции) Class и Proc ID при выборе не меняются.</p></blockquote></div><p>Можно получить и имя пункта меню. Как пример кода, поковыряйте <a href="http://forum.script-coding.com/viewtopic.php?pid=72459#p72459">AhkSpy</a>.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-11-19T20:54:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88475#p88475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88471#p88471" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>В стандартном меню нельзя узнать, какой пункт находится под курсором, пока не щёлкнешь по нему ЛКМ.</p></blockquote></div><p>В стандартном меню - Accessible в помощь.</p></blockquote></div><p>из того что получил Child id:1 Child id:2 (Меню на 2 позиции) Class и Proc ID при выборе не меняются.</p><p>По&nbsp; Accessible мало информации да и знаний не хватит. <br />СПС буду юзать button</p>]]></content>
			<author>
				<name><![CDATA[red2881]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30934</uri>
			</author>
			<updated>2014-11-19T18:17:39Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88471#p88471</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88470#p88470" />
			<content type="html"><![CDATA[<p>Расслабьтесь, когда скрипт демонстрирует меню, он прекращает всякую активность. Отслеживать что-либо в данный момент невозможно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-11-19T17:53:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88470#p88470</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88468#p88468" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>В стандартном меню нельзя узнать, какой пункт находится под курсором, пока не щёлкнешь по нему ЛКМ.</p></blockquote></div><p>В стандартном меню - Accessible в помощь.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-11-19T17:05:16Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88468#p88468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88460#p88460" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alectric пишет:</cite><blockquote><p>Можно только если сделать меню с помощью GUI, состоящих из кнопок.</p></blockquote></div><p>Или др. элементов управления... Недавно обсуждали нестандартное меню с перетаскиваемыми пунктами на основе TreeView / ListView. Там вроде есть определение элемента списка под курсором.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-11-19T12:07:43Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88460#p88460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88458#p88458" />
			<content type="html"><![CDATA[<p>Можно только если сделать меню с помощью GUI, состоящих из кнопок.</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2014-11-19T11:56:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88458#p88458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88456#p88456" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>Кажется, таких стандартных меню не бывает. В стандартном меню нельзя узнать, какой пункт находится под курсором, пока не щёлкнешь по нему ЛКМ.</p></blockquote></div><p>Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[red2881]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30934</uri>
			</author>
			<updated>2014-11-19T10:25:10Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88456#p88456</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88454#p88454" />
			<content type="html"><![CDATA[<p>Кажется, таких стандартных меню не бывает. В стандартном меню нельзя узнать, какой пункт находится под курсором, пока не щёлкнешь по нему ЛКМ.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-11-19T09:43:31Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88454#p88454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88453#p88453" />
			<content type="html"><![CDATA[<p>а если несколько?</p>]]></content>
			<author>
				<name><![CDATA[red2881]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30934</uri>
			</author>
			<updated>2014-11-19T09:38:31Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88453#p88453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88452#p88452" />
			<content type="html"><![CDATA[<p>Если в меню единственный пункт, можно по классу окна определять окно под курсором.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-11-19T09:37:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88452#p88452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88451#p88451" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><div class="quotebox"><cite>red2881 пишет:</cite><blockquote><p>Подсказка ToolTip при выборе.</p></blockquote></div><p>Э-э-э... При выборе чего? Жизненного пути?</p></blockquote></div><p>не знал что форум посвящен выбору жизненного пути. )))</p><p>После вывода собственного меню по средней кнопке мыши при наведении появлялась всплывающая подсказка.</p>]]></content>
			<author>
				<name><![CDATA[red2881]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30934</uri>
			</author>
			<updated>2014-11-19T09:30:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88451#p88451</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88450#p88450" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>red2881 пишет:</cite><blockquote><p>Подсказка ToolTip при выборе.</p></blockquote></div><p>Э-э-э... При выборе чего? Жизненного пути?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-11-19T09:03:06Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88450#p88450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88449#p88449" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>red2881</strong>, придумайте какое-нибудь более внятное название для темы, и желательно на русском.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-11-19T08:35:27Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88449#p88449</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Подсказка ToolTip]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=88448#p88448" />
			<content type="html"><![CDATA[<p>Добрый день!<br />Как можно добавить подсказку при наведении мыши на Menu.<br /></p><div class="codebox"><pre><code>Menu, Popup, Add, тест

MButton::Menu, Popup, Show ; средняя кнопка мыши
return
  
тест:
SendInput  тест 
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[red2881]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30934</uri>
			</author>
			<updated>2014-11-19T08:14:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=88448#p88448</id>
		</entry>
</feed>
