LRasterPaintWindow::GetToolbar

Summary

Gets the current automation toolbar handle.

Syntax

#include "Ltwrappr.h"

static LToolbar * LRasterPaintWindow::GetToolbar()

Returns

Value Meaning
!NULL Pointer to the LToolbar object that references the toolbar.
NULL An error occurred.

Comments

If the user didnt 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

See Also

Functions

Example

L_INT LRasterPaintWindow_GetToolbarExample(LRasterPaintWindow *pLRasterPntWnd, L_INT* nRows) 
 
{ 
   UNREFERENCED_PARAMETER(pLRasterPntWnd); 
   LToolbar*   pLToolbar = LRasterPaintWindow::GetToolbar( ); 
 
   if ( pLToolbar->IsValid() ) 
      *nRows = pLToolbar->GetRows( ); 
   else 
      return FAILURE; 
 
   return SUCCESS; 
 
} 
Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DigitalPaint C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.