When the window is in Click through mode, I want the title bar to disappear.
if BitAnd(GUICtrlRead($Clickthru),$GUI_CHECKED) then _WinAPI_SetWindowLong($hMain, $GWL_EXSTYLE, _ BitOR(_WinAPI_GetWindowLong($hMain, $GWL_EXSTYLE), $WS_EX_TRANSPARENT)) _WinAPI_SetWindowLong($hMain, $GWL_STYLE, _ BitOR(_WinAPI_GetWindowLong($hMain, $GWL_STYLE), $WS_CAPTION)) Else $NoTrans = BitNOT($WS_EX_TRANSPARENT) _WinAPI_SetWindowLong($hMain, $GWL_EXSTYLE, _ BitAND(_WinAPI_GetWindowLong($hMain, $GWL_EXSTYLE), $NoTrans)) $Caption = BitNOT($WS_CAPTION) _WinAPI_SetWindowLong($hMain, $GWL_STYLE, _ BitAND(_WinAPI_GetWindowLong($hMain, $GWL_STYLE), $Caption)) Endif
EDIT: See This
Edited by Lakes, 19 August 2010 - 12:22 PM.





