Upon countless searches on the forums i came upon a post the outlines exactly what I'm trying to do :
http://www.vbforums.com/showthread.p...ansparent+form
I want to be able to click throuhg a transparent form so that the external application(s) beneath receive the mouse events instead of my app...
how ever this code was written for vb6 using api, I've converted all of it except I am un able to locate the Const Def of WS_EXSTYLE
This is the vb6 line of code:
VB Code:
SetWindowLong Me.hWnd, GWL_EXSTYLE, GetWindowLong(Me.hWnd, WS_EXSTYLE) Or WS_EX_TRANSPARENT
this is what I've converted it to
VB Code:
SetWindowLong(Me.Handle.ToInt32, GWL_EXSTYLE, GetWindowLong(Me.Handle.ToInt32, WS_EXSTYLE) Or WS_EX_TRANSPARENT)
how ever I can't find the const defition for WS_EXSTYLE
any ideas?
thanx




Reply With Quote