LRasterPaintWindow::GetToolbar
#include "Ltwrappr.h"
static LToolbar * LRasterPaintWindow::GetToolbar()
Gets the current automation toolbar handle.
Returns
!NULL |
Pointer to the LToolbar object that references the toolbar. |
NULL |
An error occurred. |
Comments
If the user didn’t set the toolbar handle by using the LRasterPaintWindow::SetToolbar, this function will return NULL.
LRasterPaintWindow::Initialize must be called before calling this function.
Required DLLs and Libraries
LTPNT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
Example
L_INT GetToolbarRows(LRasterPaintWindow *pLRasterPntWnd)
{
L_INT nRows = 0;
LToolbar* pLToolbar = LRasterPaintWindow::GetToolbar( );
if ( pLToolbar->IsValid() )
nRows = pLToolbar->GetRows( );
return nRows;
}