Home|Download|Buy online|Affiliates|Search|Feedback|Site Map|Forum|ReviewsUse our online RSS & XML news feeds to get the latest news about our products delivered to your desktop... RSS feed    05.09.2010
Home»BestView preview library»SDK»Exported functions
Find out more how to use BestView...
bvSetCallbackHandler

bvSetCallbackHandler

The function is used to set user's custom handler for messages generated inside the library. Instead of showing MessageBox'es the end-user can do something else, for example write the messages into the log file.

BESTVIEWAPI(void) bvSetCallbackHandler(PFNBESTVIEWCALLBACKHANDLER pfnCallbackHandlerFunc);

Parameters:

  • pfnCallbackHandlerFunc - the callback function. This functioon must be declared as follows:

    void __stdcall BestViewCallbackHandler(LPCTSTR pszErrorText,UINT code)
    { // do smth. with the error, write to a log file for example
    // ::MessageBox(0,pszErrorText,_T("BestView error"),code);
    }
Valid HTML 4.01 Transitional© PVL team, 2004-2010, all rights reserved. This Web site and its entire contents are for personal use only and may not be copied, reproduced, modified, published or distributed in any way,without PVL team's prior written permission.