BBjWindow::getIcons

Description

In BBj 16.0 and higher, this method returns a BBjVector of BBjImage objects, representing all icons assigned to a BBjWindow.

 

Syntax

Return Value

Method

BBjVector

getIcons()

Parameters

None.

Return Value

A BBjVector of BBjImage objects corresponding to all icons assigned to the BBjWindow.

Remarks

Native windowing systems may use different images of differing dimensions to represent a window, depending on the context (e.g. window decoration, window list, taskbar, etc.). They could also use just a single image for all contexts or no image at all.

Example

rem ' BBjWindow::getIcons

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
title$ = "BBjWindow::getIcons"
window! = sysgui!.addWindow(100,100,250,100,title$,$00090003$)
window!.setCallback(window!.ON_CLOSE,"eoj")
print title$,window!.getIcons()
imagemanager! = sysgui!.getImageManager()
vector! = bbjapi().makeVector()
window!.setIcons(vector!)
print title$,window!.getIcons()
vector!.add(imagemanager!.loadImageFromFile("config.ico"))
vector!.add(imagemanager!.loadImageFromFile("bbj.ico"))
window!.setIcons(vector!)
print title$,window!.getIcons()

process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

MINICON Mnemonic - Create Window Icon (SYSWINDOW)

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