RPR DockWindowAdd

From CockosWiki

Jump to: navigation, search

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR DockWindowAdd
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR DockWindowAdd

Contents

DockWindowAdd()

void DockWindowAdd(HWND hwnd, char* name, int pos, bool allowShow)

Parameters

HWND hwnd, 
char* name,
int pos,
bool allowShow

Returns

An array, containing:

HWND hwnd,
char* name, 
int pos, 
bool allowShow

Examples

C++

void SWS_DockWnd::ToggleDocking()
{
	if (!m_bDocked)
	{
		m_bDocked = true;
		ShowWindow(m_hwnd, SW_HIDE);
		DockWindowAdd(m_hwnd, (char*)m_cName, m_iDockOrder, false);		DockWindowActivate(m_hwnd);
	}
	else
	{
		DestroyWindow(m_hwnd);
		m_bDocked = false;
		Show(false, true);
	}
}

Perl

 

Python

 

See Also

window: GetTooltipWindow, TrackList_AdjustWindows, DockWindowActivate, DockWindowAdd, DockWindowRemove,

(Section automatically generated, edits may be overwritten.)

Stuff

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR DockWindowAdd
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR DockWindowAdd

Personal tools