<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic You can DllImport and call… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Get-HWND-of-a-windows-control/m-p/71668#M24273</link>
    <description>You can DllImport and call any win32 api in code stage:
[DllImport(""user32.dll"", SetLastError = true)]
static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);
IntPtr&amp;nbsp;hwnd = FindWindowEx(IntPtr.Zero,IntPtr.Zero,WindowClass,WindowName);
&amp;nbsp;</description>
    <pubDate>Tue, 11 Sep 2018 17:46:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2018-09-11T17:46:00Z</dc:date>
    <item>
      <title>Get HWND of a windows control</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-HWND-of-a-windows-control/m-p/71667#M24272</link>
      <description>Hello all,

we have a WIN32 application. In this application is a custom control which implements custom windows message in the WM_USER range (&amp;gt;0x0400). Are there any ways to send these messages (maybe a BluePrism SendMessage)? Or is it possible to get the HWND of the control (it is identified in application modeler)? So I can send the message by myself.

Greetings

-toarnold</description>
      <pubDate>Mon, 03 Sep 2018 17:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-HWND-of-a-windows-control/m-p/71667#M24272</guid>
      <dc:creator>TobiasArnold</dc:creator>
      <dc:date>2018-09-03T17:41:00Z</dc:date>
    </item>
    <item>
      <title>You can DllImport and call…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Get-HWND-of-a-windows-control/m-p/71668#M24273</link>
      <description>You can DllImport and call any win32 api in code stage:
[DllImport(""user32.dll"", SetLastError = true)]
static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);
IntPtr&amp;nbsp;hwnd = FindWindowEx(IntPtr.Zero,IntPtr.Zero,WindowClass,WindowName);
&amp;nbsp;</description>
      <pubDate>Tue, 11 Sep 2018 17:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Get-HWND-of-a-windows-control/m-p/71668#M24273</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-09-11T17:46:00Z</dc:date>
    </item>
  </channel>
</rss>

