S
senthil
Hi ALL,
I am Developing an application with Microsoft InkPicture component.
It's working fine in all windows versons except windows tabletPC version.In
most occasions it's working fine in windows tabletPC version.But some time
The application throws exception.I couldn't find the reason for this
problem.But i tracked where it goes wrong.In destructor I have used one
function Deletecontrol().
BOOL TBitScrollWindow:
eleteControl ()
{
if ( m_pChild && m_pChild->m_hWnd )
{
try
{
m_pChild->SetInkEnabled ( FALSE );
m_pChild->CloseWindow ();
safe_delete ( m_pChild );
}
catch ( CException *pe )
{
char szErrMsg[MAX_PATH];
pe->GetErrorMessage ( szErrMsg, MAX_PATH );
AfxMessageBox ( szErrMsg );
}
}
return TRUE;
}
In the above code Microsoft's InkPicture component's default function
SetInkEnabled() gets failed and throws exception. When we catch this Empty
string is coming in the MessageBox.Pl. guide me throw this problem.
Thanks
Senthilkumar.K
I am Developing an application with Microsoft InkPicture component.
It's working fine in all windows versons except windows tabletPC version.In
most occasions it's working fine in windows tabletPC version.But some time
The application throws exception.I couldn't find the reason for this
problem.But i tracked where it goes wrong.In destructor I have used one
function Deletecontrol().
BOOL TBitScrollWindow:
{
if ( m_pChild && m_pChild->m_hWnd )
{
try
{
m_pChild->SetInkEnabled ( FALSE );
m_pChild->CloseWindow ();
safe_delete ( m_pChild );
}
catch ( CException *pe )
{
char szErrMsg[MAX_PATH];
pe->GetErrorMessage ( szErrMsg, MAX_PATH );
AfxMessageBox ( szErrMsg );
}
}
return TRUE;
}
In the above code Microsoft's InkPicture component's default function
SetInkEnabled() gets failed and throws exception. When we catch this Empty
string is coming in the MessageBox.Pl. guide me throw this problem.
Thanks
Senthilkumar.K