Jump to content



Photo

No title bar/WS_CAPTION


  • Please log in to reply
2 replies to this topic

#1 SlimShady

SlimShady

    AutoIt lover

  • Active Members
  • PipPipPipPipPipPip
  • 2,383 posts

Posted 01 October 2004 - 10:28 AM

I want to create a small window that has the same size as the Windows clock.
So I need a way to get rid of the title bar.
Is it possible?





#2 ioliver

ioliver

    Search IMF - Check my sig.

  • Active Members
  • PipPipPipPipPipPip
  • 564 posts

Posted 01 October 2004 - 03:38 PM

This worked for me to create a window with no title bar:
; Thanks Larry! Global $WS_POPUP = 0x80000000 Global $WS_DLGFRAME = 0x400000 $style = $WS_POPUP + $WS_DLGFRAME $text = FileReadLine("C:\marquee.txt", 1) $len = StringLen($text) $show = $text Opt("GuiNotifyMode", 1) GuiCreate("Ticker", 1024, 40, 0, 0, $style)

Hope it helps.

Ian
"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

#3 SlimShady

SlimShady

    AutoIt lover

  • Active Members
  • PipPipPipPipPipPip
  • 2,383 posts

Posted 01 October 2004 - 04:38 PM

Allright. Great! Exactly like I wanted.
Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users