// If true, debug system will trap crash even if the application is in debugger
staticconstboolTrapCrashInDebugger=false;
#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif
namespaceNLMISC
{
@ -90,7 +97,7 @@ namespace NLMISC
boolDisableNLDebug=false;
NLMISC::CVariablePtr<bool>_DisableNLDebug("nel","DisableNLDebug","Disables generation and output of nldebug logs (no code associated with the log generation is executed)",&DisableNLDebug,true);
// Creating Drag Image for a CTreeCtrl without images
// Contribution of Pål K Tønder on www.codeguru.com
// Contribution of Pal K Tonder on www.codeguru.com
// The method CreateDragImage is used during drag'n drop to create a drag image. The problem is that it only works for a CTreeCtrl with images.
// The following method, CreateDragImageEx, checks whether the CTreeCtrl has a valid normal CImageList. If so, it just calls the standard CreateDragImage method and returns.
// If, on the other hand, no valid CImageList is found, a bitmap is created based on the size of item rect, and the item text is drawn into it. Then a CImageList is
// Process logic and displacement and setup visual animation
voidapplyObjectAnimationTimeslice(doubletime);
// manage animation start, if they are many animation, we choose one randomly (TODO: add contrôle to animation launched and manage some mode (loop, repeat number, sequences..)
// manage animation start, if they are many animation, we choose one randomly (TODO: add control to animation launched and manage some mode (loop, repeat number, sequences..)