BBjWindow::getWindowFlags

Description

This method returns a four-byte string that contains the flags used to create the window or child window.

Syntax

Return Value

Method

byte[]

getWindowFlags()

Parameters

None.

Return Value

Returns a four-byte string that contains the flags used to create the window or child window.

Remarks

Methods that return byte[] can usually be treated as if they returned string, because BBj automatically handles the conversion. However, when that byte[] value is directly assigned to an object variable or passed to a Java method, BBj skips the conversion and the raw internal byte[] format is used. You can always use the STR() function to explicitly convert the byte[] value to a string.

rem ' BBjWindow::getWindowFlags

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
title$ = "BBjWindow::getWindowFlags"
window! = sysgui!.addWindow(100,100,300,75,title$,$00090083$)
flags$ = window!.getWindowFlags()
window!.addStaticText(101,25,25,250,25,"getWindowFlags: $"+hta(flags$)+"$",$$)
window!.setCallback(window!.ON_CLOSE,"eoj")
process_events

eoj:
release

See Also

BBjAPI

BBjControl

BBjWindow

Get Window Flags - SENDMSG() Function 22

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.