Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/20/2011 in all areas

  1. Make it without a minimize button. I didn't need to look fat in search to find that. I just added $WS_EX_TOPMOST so it remains when desktop is brought to front. #include <WinAPIEx.au3> ; www.autoitscript.com/forum/topic/98712-winapiex-udf/ _GUI_NoIcon() GUICtrlCreateLabel("Example Label", 10, 10, 150, 25) GUISetState(@SW_SHOW) While 1 If GUIGetMsg("Test GUI") = -3 Then Exit EndIf WEnd Func _GUI_NoIcon($sTitle = "", $iWidth = -1, $iHeight = -1, $iXpos = -1, $iYpos = -1) Local $hWnd = GUICreate($sTitle, $iWidth, $iHeight, $iXpos, $iYpos, _ BitOR($WS_CAPTION, $WS_SYSMENU), BitOR($WS_EX_DLGMODALFRAME,$WS_EX_TOPMOST)) Local $hIcon = _WinAPI_GetClassLongEx($hWnd, $GCL_HICON) _WinAPI_DestroyIcon($hIcon) _WinAPI_SetClassLongEx($hWnd, $GCL_HICON, 0) _WinAPI_SetClassLongEx($hWnd, $GCL_HICONSM, 0) Return $hWnd EndFunc ;==>_GUI_NoIcon
    1 point
×
×
  • Create New...