WinXSetWindowToolbar


WinXSetWindowToolbar (hWnd, hToolbar)

Sets the toolbar for a window.

Parameter Description
hWnd

The handle to the window to set the toolbar for

hToolbar The handle to the toolbar

Returns

$$TRUE on success or $$FALSE on fail

Remarks

A window can have either a single toolbar, or a single rebar with multiple toolbars (not implemented yet).

Examples

'Make hToolbar the toolbar for #hMain
WinXSetWindowToolbar (#hMain, hToolbar)

Related Links

WinXNewToolbar