Set Mes Caption Id

Signature

void setmeswincaptionid(int windowId, int captionId); //id:0x0477

Description

Used before functions like Mes and A Ask 1FF to set the header icon of the next opened window with the type Dialog Window.

Arguments

Window Identifier

The window the dialogue will be displayed in.

There are a total of 8 windows (0 -> 7) that can be used to simultaneously display several dialogues, shapes (textures), etc. at the same time.

If a value of -1 is passed, it will be changed to 0.

If the window is already used before calling this function, nothing will change.

Caption Identifier

The displayed icon in the top left part of the window.

Here is a list of which captions are commonly used.

Value
Name

0

None

1

Smiley Face

2

Double Exclamation Marks

3

Magnifying Glass

8

Shop

If no caption identifier is passed, the dialog window will use the smiley face caption by default.

Last updated