InsertPanelExPage

www.progui.co.uk  Top  Previous  Next

InsertPanelExPage()

Syntax

WindowsID.i = InsertPanelExPage(Panel.i, Page.i, Background.i)

Description

Inserts an empty page into the specified PanelEx container.  Any gadgets created after this command will be added to the page.

Panel.i is the ID/Handle of the PanelEx and Page.i is the Index/ID of the page that the new page will be inserted before. Page.l can also be -1 in order to add the new page after the last page.

Background.i can be a gradient or a number from -1 to 11 which selects the style of the theme background for the panel:

Background.l

Theme

-1

No theme background.

0

Default tabbed background.

1

Blue slight vertical gradient.

2

Blue horizontal gradient.

3

Light blue solid.

4

Light blue horizontal gradient.

5

Light blue slight vertical gradient.

6

Dark blue slight vertical gradient.

7

Rebar background.

8

System push button normal background.

9

System push button hot background.

10

System push button pressed background.

11

System push button disabled background.

 

Note the theme descriptions are based on WindowsXP Blue visual Style

and may vary in appearance depending on the user's theme settings.

 

Returns the Windows ID (HWND) of the newly created PanelEx page or zero for failure.

 

PanelEx Index