[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Win32 API question: How to get a window/chart handle?


  • To: "Omega List" <omega-list@xxxxxxxxxx>
  • Subject: Re: Win32 API question: How to get a window/chart handle?
  • From: "Larry Viles" <larry@xxxxxxxxxx>
  • Date: Fri, 8 Jan 1999 10:19:59 -0500 (EST)

PureBytes Links

Trading Reference Links

>I need some help with Win32 API ( user32.dll ).
In my Visual Basic software development, I use the following declare call
which returns the active window handle.

Hope this helps.

Larry

Public Declare Function WindowFromDC Lib "user32" Alias "WindowFromDC"
(ByVal hdc As Long) As Long
Public Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow"
() As Long