SftDirectory 2.5

SftDirectory.ErrorWindow Property

Softel vdm, Inc.

Defines the top-level application window for error message reporting.

Syntax       

Get

VB.NET

Handle = object.ErrorWindow  As Integer

VB

Handle = object.ErrorWindow  As Long

C#.NET

int Handle = object.ErrorWindow;

VC++

long Handle = object->ErrorWindow;
long Handle = object->GetErrorWindow();

C

HRESULT object->get_ErrorWindow(long* Handle);

Delphi

Handle := object.ErrorWindow   : Integer;

Put

VB.NET

object.ErrorWindow = Handle  As Integer

VB

object.ErrorWindow = Handle  As Long

C#.NET

int object.ErrorWindow = Handle;

VC++

long object->ErrorWindow = Handle;
void object->PutErrorWindow(long Handle);

C

HRESULT object->put_ErrorWindow(long Handle);

Delphi

object.ErrorWindow := Handle   : Integer;

object

A SftDirectory object.

Handle

A window handle defining the top-level application window for error message reporting.

Comments

The ErrorWindow property defines the top-level application window for error message reporting.

If an error message needs to be displayed, the specified window is used as parent window for the resulting message box.  Methods such as the control's Do and Folder.Do can display error messages.  These error messages are not generated or implemented by SftDirectory, they are generated by the Windows Shell or Shell extensions.

If the ErrorWindow property is not set by the application, the SftDirectory control's (non-child) parent window is used as top-level application window.

Error messages can be suppressed by using the ShowErrors property.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com