WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Boxes Functions
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Box Window with No Caption

Keywords: 	  Box Window with No Caption

WinTitle("", "Linking to FileNET...")

; Remove title bar from main program window

WS_CAPTION=12582912  ; Hex 00C00000  (Search MSDN for Q111011 for more parameter values)
GWL_STYLE=-16
MyWin=DllHwnd("Linking to FileNET...")
User32=StrCat(DirWindows(1),"USER32.DLL")
OldStyle=DllCall(User32, long:"GetWindowLongA", long:MyWin, long:GWL_STYLE)

NewStyle=OldStyle & ~WS_CAPTION
DllCall(User32, long:"SetWindowLongA", long:MyWin, long:GWL_STYLE, long:NewStyle)

BoxColor(1, "200,204,248", 0)
BoxDrawRect(1, "0,0,1000,1000", 1)
BoxTextColor(1, "0,0,0")
BoxDrawText(1, "0,0,1000,1000", "Linking to FileNET...", @TRUE, 5)
BoxesUp("400,420,600,460", @NORMAL)

; Do some processing here (just a delay for this demo)

TimeDelay(8)

; Display the results of processing here (just an example message for this demo)

BoxDestroy(1)
WinTitle("", "Document Title")
Message("Document Title", "The document title is XYZ")

Exit

Article ID:   W14830
File Created: 2001:11:08:12:40:12
Last Updated: 2001:11:08:12:40:12