LScreenCapture::ScreenCaptureHelpCallBack

#include "ltwrappr.h"

virtual L_VOID LScreenCapture::ScreenCaptureHelpCallBack(uFlag, nCtlID)

L_UINT32 uFlag;

flag indicating the origin of the help command message

L_INT nCtlID;

control ID

Signals that the user has clicked the Help button or pressed F1 for a control on a dialog.

Parameter Description
uFlag Flags that determine the options dialog that the Help button was clicked from. Possible values are:
  Value Meaning
  SCRDLG_HELP_SETCAPTUREOPTION [1] Help command message is coming from LScreenCapture::SetCaptureOptionDlg.
  SCRDLG_HELP_CAPTUREAREAOPTION [2] Help command message is coming from LScreenCapture::CaptureAreaOptionDlg.
  SCRDLG_HELP_CAPTUREOBJECTOPTION [3] Help command message is coming from LScreenCapture::CaptureObjectOptionDlg.
  SCRDLG_HELP_CAPTUREFROMEXE [4] Help command message is coming from LScreenCapture::CaptureFromExeDlg.
nCtlID ID of the control that received the context sensitive help click. A value of 1 refers to the help button itself. For a list of other possible values, refer to the LTSCR.H file in the LEAD\INCLUDE directory.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This callback function is optional. It is necessary only if you wish to provide help information for individual dialogs. The exact nature of the help provided is up to you, but you must override this function in order to provide that help. In addition, you must call LBase::EnableCallBack before calling any function that uses this callback.

This callback function is used with the following methods:

LScreenCapture::CaptureAreaOptionDlg

LScreenCapture::CaptureFromEXEDlg

LScreenCapture::CaptureObjectOptionDlg

LScreenCapture::SetCaptureOptionDlg

Required DLLs and Libraries

LTDIS
LTSCR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

For an example, refer to LScreenCapture::SetCaptureOptionDlg.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help