Search code examples
windowpositionhta

Get Window Position in HTA


Can i get the current window position in HTA (HTML Application)? which is similar with Me.Top and Me.Left in VB6, but i want it get the pixels number.!?


Solution

  • With JS you can get the position of the topmost window with top.screenLeft and top.screenTop.