Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Jan 8, 2009 - 8:13 AM
|
Dear Support, We are using this function, and even though we already found few bugs there that you fixed, this function still does not work, ann also crashes our application very often. We notice two bugs there: 1) If you show & hide several times in different orders (of nodes that have childrens), it start to switch nodes locations in the tree, which it should not. 2) After these switches accure, the next time you try to show & hide one of these nodes that were switched, the application crashes. For us this function is a must - please ask your QA team to explore this functionality and fix it ASAP, as we have to use this function a lot. Thanks, Ron.
|
|
Technical Support
|
Jan 12, 2009 - 12:25 PM
|
Thank you for reporting this issue. We fixed it and send you a link to the fixed code by email.
|
|
tera tera
|
Jan 7, 2009 - 7:16 PM
|
Hello. I am not non-visible in an item.
I want to make an item non-display.
Is it unrealizable?
|
|
Technical Support
|
Jan 8, 2009 - 10:14 AM
|
The CExtTreeCtrl class implements a re-painted version of the CTreeCtrl common control. That means our class does not manage the collection of tree items. It uses the base class for storing a tree structure. But the tree view common control does not support hidden items. You should remove a tree item if you want to make it invisible.
|
|
tera tera
|
Jan 7, 2009 - 6:26 PM
|
Hello. With the following commands, a selection does not move either.
I am troubled. if ( sItemText == "top level item 1" ){
m_wndTree.FocusItem( hti , true, true , true );
m_wndTree.Invalidate();
} Thanks,
|
|
Technical Support
|
Jan 9, 2009 - 8:36 AM
|
Could you modify our test project and make it reproducing this problem and send it to us?
|
|
tera tera
|
Jan 13, 2009 - 2:03 AM
|
Hello. I described a focus in the following points. Walk( hti, s, nIndent + 1 ); if( sItemText == _T("top level item 1") )
{
m_wndTree.SetFocus();
m_wndTree.FocusItem( hti, true, true, true );
m_wndTree.Invalidate();
}
} When a focus moves to other control, a focus of tree disappears. I want you to teach the method how a focus does not disappear.
|
|
tera tera
|
Jan 15, 2009 - 5:11 PM
|
Hello. I want to always display focuses.
Please answer it. Thanks,
|
|
tera tera
|
Jan 16, 2009 - 5:05 PM
|
I decide to display an icon in substitution for focus drawing.
|
|
Technical Support
|
Jan 8, 2009 - 10:11 AM
|
We have tested this issue in the same sample application: <pre>void CTreeTextDlg::Walk( HTREEITEM htiParent, CString & s, int nIndent /* = 0*/ ) { HTREEITEM hti = m_wndTree.GetNextItem( htiParent, ( htiParent == NULL ) ? TVGN_ROOT : TVGN_CHILD ); for( ; hti != NULL; hti = m_wndTree.GetNextItem( hti, TVGN_NEXT ) ) { CString sItem, sItemIdent, sItemText = m_wndTree.GetItemText( hti ); for( int i = 0; i < nIndent; i ++ ) sItemIdent += _T(" --> "); sItem.Format( _T("%s%s\r\n"), LPCTSTR(sItemIdent), LPCTSTR(sItemText) ); s += sItem; Walk( hti, s, nIndent + 1 );
if( sItemText == _T("top level item 1") ) { m_wndTree.FocusItem( hti, true, true, true ); m_wndTree.Invalidate(); } } } <pre>The item focus feature is working ok.
|
|
tera tera
|
Jan 8, 2009 - 5:50 PM
|
Hello. It was displayed when I set it as follows. m_wndTree.SetFocus();
m_wndTree.FocusItem( hti , true, true , true ); Even if a focus moves to other Window, I want to always display tree selections.
|
|
Ashley Gullen
|
Jan 7, 2009 - 4:39 PM
|
Hi, We recently upgraded from Prof-UIS 2.83 to 2.84. There appears to be a bug. When you change a combo box item in a property grid (CExtGridCellDropListComboBox), CExtPropertyGridCtrl::OnPgcInputComplete is not called. This has broken all combo box items in the property grid in our application. This code was calling & working fine in 2.83. Any chance of a workaround or fix here?
|
|
Technical Support
|
Jan 8, 2009 - 10:12 AM
|
Thank you for reporting the bug. Here is the bug fix: bool CExtGridCellComboBox::OnPopupListBoxSelEndOK(
CExtPopupInplaceListBox & wndListBox,
CExtGridCell::TrackCellStateInfo_t & _tcsi
)
{
ASSERT_VALID( this );
ASSERT( (&_tcsi.m_cell) == this );
ASSERT_VALID( (&wndListBox) );
ASSERT_VALID( (&_tcsi.m_wndGrid) );
_tcsi.m_nItemNoSelEndOK = wndListBox.GetCurSel();
_tcsi.m_bHelperSelChanged = true;
if( (wndListBox.GetStyle()&LBS_HASSTRINGS) != 0 )
{
LONG nItemCount = wndListBox.GetCount();
if( nItemCount > 0L )
{
LONG nCurSel = wndListBox.GetCurSel();
if( 0L <= nCurSel && nCurSel < nItemCount )
{
SetCurSel( nCurSel );
CString strSelLbText;
wndListBox.GetText( nCurSel, strSelLbText );
DWORD dwStyleEx = GetStyleEx();
bool bDoNotSendSelEndOkOnEqualText = ( ( dwStyleEx & __EGCS_EX_DO_NOT_NOTIFY_LB_SEL_FOR_EQUAL_TEXT ) != 0 ) ? true : false;
if( bDoNotSendSelEndOkOnEqualText )
{
CExtSafeString strCurrentText;
TextGet( strCurrentText );
if( strCurrentText == LPCTSTR(strSelLbText) )
return false;
}
TextSet( LPCTSTR(strSelLbText) );
_tcsi.m_wndGrid.OnGridCellInputComplete( *this, _tcsi.m_nColNo, _tcsi.m_nRowNo, _tcsi.m_nColType, _tcsi.m_nRowType, wndListBox.GetSafeHwnd() );
} // if( 0L <= nCurSel && nCurSel < nItemCount )
} // if( nItemCount > 0L )
} // if( (wndListBox.GetStyle()&LBS_HASSTRINGS) != 0 )
return false;
}
We are sorry for the inconvenience.
|
|
Offer Har
|
Jan 5, 2009 - 10:26 AM
|
We see that you use it, but could not find any documentation of it. Thanks, Ron.
|
|
Offer Har
|
Jan 5, 2009 - 7:00 AM
|
Dear Support, Our application catches the window’s WM_SETFOCUS event to know when focus/active view has changed in an MDI application. We notice that in 2.84, when swithching the views from the CExtTabMdiWnd the events are not received in the views. Can you please fix it ASAP - This is a major item we must have before swithcing 2.84 to production. Thanks, Ron.
|
|
Offer Har
|
Jan 5, 2009 - 7:04 AM
|
IMPROTANT - the event is not received at the view if a control-bar have the focus. It seems that the control-bar has the focus, so the new view never gets focus, so the event is never called. If there is any way of getting events or over-ride the CExtTabMdiWnd for knowing when the user switched view it might be enough for us to bypass this problem.
|
|
Offer Har
|
Jan 5, 2009 - 10:25 AM
|
OK - we found a work-around using the WM_MDIACTIVATE event.
|
|
tera tera
|
Jan 5, 2009 - 12:11 AM
|
From root, I want to examine all HTreeItem recursively. I ask for a sample code. Thanks,
|
|
tera tera
|
Jan 7, 2009 - 5:10 PM
|
|
|
Technical Support
|
Jan 6, 2009 - 12:24 PM
|
|
|
Offer Har
|
Jan 4, 2009 - 9:49 PM
|
Dear Support, I would to get some details on CExtPopupMenuWnd::MENUITEMDATA::SetInplaceEdit , and all the accompanied function and how to use it. Can you please supply more details, and maybe a sample how to use it? Thanks, Ron.
|
|
Rado Manzela
|
Jan 4, 2009 - 1:39 PM
|
Is it bug or by design in 2.84 that setting ModifyStyle(__EGCS_READ_ONLY); on outer cell in gridwnd causes that it’s background is white and not current theme’s background?
|
|
Offer Har
|
Jan 3, 2009 - 4:26 PM
|
Dear Support, We have a plug-in merchanism when the Main-Frame of appliction decides which control-bar to use, and show/hide via its menus, using this funcrion:
BOOL CMainFrame::OnBarCheck(UINT nID)
{
return CExtControlBar::DoFrameBarCheckCmd(this, GetSmallID(nID), true);
} We would like to know if there is any event sent to the control-bar when it shown/hidden, as we would like to do some code to be done when the control is shown, and another when it is hidden in the control-bar itself, which have no knowledge of the Main-Frame class. Thanks, Ron.
|
|
Offer Har
|
Jan 2, 2009 - 1:17 PM
|
Hi, I would like to use the filter feature, but I don’t want the Prof-UIS library to do the actual filtering, as our filtering algorithm is more complicated then just hiding few lines in the grid - we have a huge run-time database that we need to display only a very small subset of (if no filter defined, we show the latest X row, as the database is time-based), and we do the filtering ourselves. What we need is the UI for allowing us the get the user’s filter and sort commands. For that reason we are planning of setting m_bDynamicValueFilters to false, and fill the available data ourselves, for example. Can this be done? If so, where can we get the filter values inserted by the user for each column? Thanks, Ron.
|
|
David Skok
|
Jan 2, 2009 - 8:20 AM
|
Clicking on a column header to sort no longer works. This bug is present in my application as well as in ReportGrid demo. Please take a look. Thanks, Dave
|
|
Technical Support
|
Jan 2, 2009 - 3:11 PM
|
This is a known issue in Prof-UIS 2.84. It appeared after adding sorting feature into the CExtTreeGridWnd class which is the base of the CExtReportGridWnd class. It’s very easy to fix this issue. Please add one line of code into constructor of the CExtReportGridDataProvider class:
CExtReportGridDataProvider::CExtReportGridDataProvider()
{
m_pTreeNodeDefaultRTC = RUNTIME_CLASS( CExtReportGridItem );
m_DP.m_bEnableSortOrderUpdatingRows = true;
}
|
|
Offer Har
|
Jan 1, 2009 - 8:37 PM
|
Dear Support, I see you used this function is the caption tip sample. I could not find any documentation about it, please explain where and how to use it. Thanks, Ron.
|
|
Technical Support
|
Jan 2, 2009 - 3:10 PM
|
We keep this function as internal because it’s needed for very advanced tasks only. We can document it.
|
|
Offer Har
|
Jan 1, 2009 - 8:34 PM
|
I saw that you used this template on a control bar to get cool tips. I could not find any documentation of it - can you please explain when and how to use it? Thanks, Ron.
|
|
Technical Support
|
Jan 2, 2009 - 3:10 PM
|
You are right. It’s not documented yet. Thank you.
This small tooltip class displays the CExtPopupMenuTipWnd tooltips over any other window. It uses the standard MFC’s CWnd::OnToolHitTest() method to get the tooltip information. In simple words, this template class replaces standard tooltips which window would like to display with Prof-UIS tooltip.
|
|
Offer Har
|
Jan 2, 2009 - 3:15 PM
|
Thanks, Can it be added to any CWnd derived?
|
|
Technical Support
|
Jan 4, 2009 - 1:09 PM
|
|
|
Offer Har
|
Jan 1, 2009 - 8:31 PM
|
I see this enum and functions:
enum e_ui_scaling_type_t
{
__EUIST_X = 0,
__EUIST_Y = 1,
__EUIST_Z = 2,
__EUIST_MIN_VALUE = 0,
__EUIST_MAX_VALUE = 2,
};
virtual bool UiScalingIsEnabled(
e_ui_scaling_type_t eUIST
) const;
virtual INT UiScalingDo(
INT nValue,
e_ui_scaling_type_t eUIST
) const; Used in the filter gird sample - what are they for? I could not find them in the help. Thanks, Ron.
|
|
Technical Support
|
Jan 2, 2009 - 3:02 PM
|
If you have some CSize variable which contains the size of some control or its parts when screen DPI is set to 96 both horizontally and vertically and you want this CSize variable be proportionally increased on desktops with larger DPI settings, then you should use the following code:
CSize sizeAt96DPI( . . . , . . . );
CSize correctSizeInPixelsAtAnyDPI;
CExtPaintManager * pPM = g_PaintManager.GetPM();
correctSizeInPixelsAtAnyDPI.cx = pPM->UiScalingDo( sizeAt96DPI.cx, CExtPaintManager::__EUIST_X );
correctSizeInPixelsAtAnyDPI.cy = pPM->UiScalingDo( sizeAt96DPI.cy, CExtPaintManager::__EUIST_Y );
The APIs in your question is the UI scaling feature of paint manager component. This feature makes Prof-UIS components proportionally scaled on desktops with different DPI settings.
|
|
Offer Har
|
Jan 1, 2009 - 8:27 PM
|
I have a grid that has a date-time field. I need the ’Text Filter’ sub-menu to contain only two options - After Date and Before Date, and that the edit box will be a date-time control and not edit-box. I also need to change the text of the sub-menu from ’Text Filter’ to ’Range Filter’ Is this possible? for me these requirements are a must, and if they are not implemented I’ll have to re-code all the filtering myself, which seems pitty, as the mechanism is already there. Thanks, Ron.
|
|
Technical Support
|
Jan 2, 2009 - 3:08 PM
|
We can regard your question a feature request. The text filter sub menu contains text based filtering options only without care about real data type.
|
|
Offer Har
|
Jan 2, 2009 - 3:14 PM
|
For me this is a must-have Is there any way for me to get this going ASAP? If I won’t have it this month I will have to go in another path... If this is impossible, can you please explain how to implement the following: 1) Adding the icon on the right side of the header cell, that when clicked opens a menu 2) Adding a sub-menu will a check list-box as in the Value filter. 3) How to add an edit-box and date-time control into a menu item. Thanks, Ron.
|
|
Offer Har
|
Jan 1, 2009 - 10:25 AM
|
Hi, In the Obsidian theme, when a button is pressed and the focus dots are displayed, for some reason some of the dots are drawn in a complete different color, as you can see in this capture: And blown up: We get complaints about it from our customers... can this be fixed so that the dots wont blend with the back-color? we realy do not need this purple dots... Thanks, Ron.
|
|
Technical Support
|
Jan 2, 2009 - 3:08 PM
|
Please find the following code very close to the end of the CExtPaintManagerOffice2007_Impl::PaintPushButton() method:
// Draw focus rectangle
if( _ppbd.m_bDrawFocusRect
&& ( ( !sTitle.IsEmpty() ) || _ppbd.m_nFocusMode == __EBFM_CLIENT_AREA )
&& rcFocus.bottom > rcFocus.top
&& rcFocus.right > rcFocus.left
)
{
rcFocus.DeflateRect( 2, 2 );
dc.DrawFocusRect( &rcFocus );
}
Then please replace the dc.DrawFocusRect( &rcFocus ); line of code with the following lines: stat_DrawDotLineH( dc, rcFocus.left, rcFocus.right, rcFocus.top, RGB(0,0,0) );
stat_DrawDotLineH( dc, rcFocus.left, rcFocus.right, rcFocus.bottom, RGB(0,0,0) );
stat_DrawDotLineV( dc, rcFocus.left, rcFocus.top, rcFocus.bottom, RGB(0,0,0) );
stat_DrawDotLineV( dc, rcFocus.right, rcFocus.top, rcFocus.bottom, RGB(0,0,0) );
|
|
Offer Har
|
Jan 1, 2009 - 10:14 AM
|
It leaves space at the top of the screen, and it cut at the bottom, as if it’s offsetting by some pixels from the top. Please note that CExtPaintManagerOffice2007_R2_XXX themes resize themselves OK. Please fix, Thanks, Ron.
|
|
Offer Har
|
Jan 1, 2009 - 10:12 AM
|
I have a tree grid that crashes each time A node is going to be displayed. I see that in CExtTreeGridDataProvider::_Tree_MapRowToCache , this line:
CExtTreeGridCellNode * pNode = m_arrGridVis.GetAt( nRowNo ); returns NULL, even though the row line is valid. The entry is within the array, because the array size is bigger then the nRowNo , so, for some reason the array contains NULL entries - how can this be? Please note that the same think does not happen in 2.82. Please fix. Thanks, Ron. This is the stack: ntdll.dll!7c90120e()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
msvcr80d.dll!_CrtDbgBreak() Line 89 C
msvcr80d.dll!_VCrtDbgReportA(int nRptType=2, const char * szFile=0x01bdce48, int nLine=2268, const char * szModule=0x00000000, const char * szFormat=0x00000000, char * arglist=0x0012659c) Line 290 C
msvcr80d.dll!_CrtDbgReportV(int nRptType=2, const char * szFile=0x01bdce48, int nLine=2268, const char * szModule=0x00000000, const char * szFormat=0x00000000, char * arglist=0x0012659c) Line 300 + 0x1d bytes C
msvcr80d.dll!_CrtDbgReport(int nRptType=2, const char * szFile=0x01bdce48, int nLine=2268, const char * szModule=0x00000000, const char * szFormat=0x00000000, ...) Line 317 + 0x1d bytes C
mfc80d.dll!AfxAssertFailedLine(const char * lpszFileName=0x01bdce48, int nLine=2268) Line 25 + 0x14 bytes C++
mfc80d.dll!AfxAssertValidObject(const CObject * pOb=0x00000000, const char * lpszFileName=0x01bdce48, int nLine=2268) Line 77 + 0xd bytes C++
> ProfUIS284md.dll!CExtTreeGridDataProvider::_Tree_MapRowToCache(unsigned long nRowNo=13) Line 2269 C++
ProfUIS284md.dll!CExtTreeGridDataProvider::_Tree_NodeGetByVisibleRowIndex(unsigned long nRowNo=14) Line 932 + 0x16 bytes C++
ProfUIS284md.dll!CExtTreeGridDataProvider::TreeNodeGetByVisibleRowIndex(unsigned long nRowNo=14) Line 917 + 0x16 bytes C++
ProfUIS284md.dll!CExtTreeGridWnd::ItemGetByVisibleRowIndex(long nRowNo=14) Line 3105 + 0xc bytes C++
ProfUIS284md.dll!CExtTreeGridWnd::OnSiwQueryItemExtentV(long nRowNo=13, int * p_nExtraSpaceBefore=0x00000000, int * p_nExtraSpaceAfter=0x00000000) Line 5117 + 0x16 bytes C++
ProfUIS284md.dll!CExtGridBaseWnd::OnSiwCalcPageMetrics(int nDirection=0) Line 7152 + 0x1d bytes C++
ProfUIS284md.dll!CExtScrollItemWnd::OnSiwGetVisibleRange() Line 6546 + 0x18 bytes C++
ProfUIS284md.dll!CExtGridBaseWnd::OnGbwWalkVisibleAreas(CDC & dc={...}, bool bFocusedControl=false, CExtGridHitTestInfo * pHT=0x00000000) Line 2582 + 0x16 bytes C++
ProfUIS284md.dll!CExtGridBaseWnd::OnSiwPaintForeground(CDC & dc={...}, bool bFocusedControl=false) Line 2169 + 0x1c bytes C++
ProfUIS284md.dll!CExtScrollItemWnd::OnSwPaint(CDC & dc={...}) Line 6080 + 0x1a bytes C++
ProfUIS284md.dll!CExtScrollWnd::OnPaint() Line 4240 + 0x19 bytes C++
mfc80d.dll!CWnd::OnWndMsg(unsigned int message=15, unsigned int wParam=0, long lParam=0, long * pResult=0x00128188) Line 2028 C++
mfc80d.dll!CWnd::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0) Line 1741 + 0x20 bytes C++
ProfUIS284md.dll!CExtScrollWnd::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0) Line 4312 C++
ProfUIS284md.dll!CExtGridBaseWnd::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0) Line 12775 C++
BaseUI.dll!CExtCTA<CBaseTreeGrid>::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0) Line 2303 + 0x17 bytes C++
mfc80d.dll!AfxCallWndProc(CWnd * pWnd=0x07a07360, HWND__ * hWnd=0x000a2678, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 240 + 0x1c bytes C++
mfc80d.dll!AfxWndProc(HWND__ * hWnd=0x000a2678, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 389 C++
mfc80d.dll!AfxWndProcBase(HWND__ * hWnd=0x000a2678, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 411 + 0x15 bytes C++
user32.dll!7e418734()
user32.dll!7e418816()
user32.dll!7e428ea0()
user32.dll!7e428eec()
ntdll.dll!7c90e453()
user32.dll!7e4194d2()
user32.dll!7e428f10()
user32.dll!7e4274b2()
user32.dll!7e418a10()
user32.dll!7e427721()
user32.dll!7e4249c4()
user32.dll!7e43a956()
msvcr80d.dll!_output_s_l(_iobuf * stream=0x0008282a, const char * format=0x001a34e8, localeinfo_struct * plocinfo=0x001a17a8, char * argptr=0x00012012) Line 1166 + 0x17 bytes C++
user32.dll!7e4664a2()
user32.dll!7e450877()
user32.dll!7e45082f()
msvcr80d.dll!__crtMessageBoxA(const char * lpText=0x00128c70, const char * lpCaption=0x102d315c, unsigned int uType=73746) Line 168 + 0x13 bytes C
msvcr80d.dll!__crtMessageWindowA(int nRptType=2, const char * szFile=0x01bdce48, const char * szLine=0x0012ace4, const char * szModule=0x00000000, const char * szUserMessage=0x00129ce4) Line 420 + 0x16 bytes C
msvcr80d.dll!_VCrtDbgReportA(int nRptType=2, const char * szFile=0x01bdce48, int nLine=2268, const char * szModule=0x00000000, const char * szFormat=0x00000000, char * arglist=0x0012ed78) Line 420 + 0x28 bytes C
msvcr80d.dll!_CrtDbgReportV(int nRptType=2, const char * szFile=0x01bdce48, int nLine=2268, const char * szModule=0x00000000, const char * szFormat=0x00000000, char * arglist=0x0012ed78) Line 300 + 0x1d bytes C
msvcr80d.dll!_CrtDbgReport(int nRptType=2, const char * szFile=0x01bdce48, int nLine=2268, const char * szModule=0x00000000, const char * szFormat=0x00000000, ...) Line 317 + 0x1d bytes C
mfc80d.dll!AfxAssertFailedLine(const char * lpszFileName=0x01bdce48, int nLine=2268) Line 25 + 0x14 bytes C++
mfc80d.dll!AfxAssertValidObject(const CObject * pOb=0x00000000, const char * lpszFileName=0x01bdce48, int nLine=2268) Line 77 + 0xd bytes C++
ProfUIS284md.dll!CExtTreeGridDataProvider::_Tree_MapRowToCache(unsigned long nRowNo=13) Line 2269 C++
ProfUIS284md.dll!CExtTreeGridDataProvider::_Tree_NodeGetByVisibleRowIndex(unsigned long nRowNo=14) Line 932 + 0x16 bytes C++
ProfUIS284md.dll!CExtTreeGridDataProvider::TreeNodeGetByVisibleRowIndex(unsigned long nRowNo=14) Line 917 + 0x16 bytes C++
ProfUIS284md.dll!CExtTreeGridWnd::ItemGetByVisibleRowIndex(long nRowNo=14) Line 3105 + 0xc bytes C++
ProfUIS284md.dll!CExtTreeGridWnd::OnSiwQueryItemExtentV(long nRowNo=13, int * p_nExtraSpaceBefore=0x00000000, int * p_nExtraSpaceAfter=0x00000000) Line 5117 + 0x16 bytes C++
ProfUIS284md.dll!CExtGridBaseWnd::OnSiwCalcPageMetrics(int nDirection=0) Line 7152 + 0x1d bytes C++
ProfUIS284md.dll!CExtScrollItemWnd::OnSwGetPageSize(int nDirection=0) Line 5554 + 0x1a bytes C++
ProfUIS284md.dll!CExtGridBaseWnd::OnSwDoScrollBy(CSize sizeScroll={...}, bool bDoScroll=true) Line 7208 + 0x18 bytes C++
ProfUIS284md.dll!CExtScrollItemWnd::OnSwDoScroll(unsigned int nScrollCode=511, unsigned int nPos=0, bool bDoScroll=true) Line 6381 + 0x33 bytes C++
ProfUIS284md.dll!CExtScrollWnd::OnVScroll(unsigned int nSBCode=1, unsigned int nPos=0, CScrollBar * pScrollBar=0x07a0865c) Line 4184 + 0x30 bytes C++
mfc80d.dll!CWnd::OnWndMsg(unsigned int message=277, unsigned int wParam=1, long lParam=665142, long * pResult=0x0012f284) Line 2118 C++
mfc80d.dll!CWnd::WindowProc(unsigned int message=277, unsigned int wParam=1, long lParam=665142) Line 1741 + 0x20 bytes C++
ProfUIS284md.dll!CExtScrollWnd::WindowProc(unsigned int message=277, unsigned int wParam=1, long lParam=665142) Line 4312 C++
ProfUIS284md.dll!CExtGridBaseWnd::WindowProc(unsigned int message=277, unsigned int wParam=1, long lParam=665142) Line 12775 C++
BaseUI.dll!CExtCTA<CBaseTreeGrid>::WindowProc(unsigned int message=277, unsigned int wParam=1, long lParam=665142) Line 2303 + 0x17 bytes C++
mfc80d.dll!AfxCallWndProc(CWnd * pWnd=0x07a07360, HWND__ * hWnd=0x000a2678, unsigned int nMsg=277, unsigned int wParam=1, long lParam=665142) Line 240 + 0x1c bytes C++
mfc80d.dll!AfxWndProc(HWND__ * hWnd=0x000a2678, unsigned int nMsg=277, unsigned int wParam=1, long lParam=665142) Line 389 C++
mfc80d.dll!AfxWndProcBase(HWND__ * hWnd=0x000a2678, unsigned int nMsg=277, unsigned int wParam=1, long lParam=665142) Line 411 + 0x15 bytes C++
user32.dll!7e418734()
user32.dll!7e418816()
user32.dll!7e428ea0()
user32.dll!7e428eec()
ntdll.dll!7c90e453()
user32.dll!7e4194be()
user32.dll!7e42c174()
user32.dll!7e42f40b()
ProfUIS284md.dll!CExtScrollBar::ScrollBar_TrackMouseLButtonDown(tagMSG * pMSG=0x0012f9c4) Line 2073 + 0x4b bytes C++
ProfUIS284md.dll!CExtScrollBar::ScrollBar_OnMouseClickMsg(tagMSG * pMSG=0x0012f9c4) Line 1614 + 0x16 bytes C++
ProfUIS284md.dll!CExtScrollBar::OnLButtonDown(unsigned int nFlags=1, CPoint point={...}) Line 1670 C++
mfc80d.dll!CWnd::OnWndMsg(unsigned int message=513, unsigned int wParam=1, long lParam=11993101, long * pResult=0x0012fb40) Line 2169 C++
mfc80d.dll!CWnd::WindowProc(unsigned int message=513, unsigned int wParam=1, long lParam=11993101) Line 1741 + 0x20 bytes C++
ProfUIS284md.dll!CExtScrollBar::WindowProc(unsigned int message=513, unsigned int wParam=1, long lParam=11993101) Line 441 + 0x14 bytes C++
mfc80d.dll!AfxCallWndProc(CWnd * pWnd=0x07a0865c, HWND__ * hWnd=0x000a2636, unsigned int nMsg=513, unsigned int wParam=1, long lParam=11993101) Line 240 + 0x1c bytes C++
mfc80d.dll!AfxWndProc(HWND__ * hWnd=0x000a2636, unsigned int nMsg=513, unsigned int wParam=1, long lParam=11993101) Line 389 C++
mfc80d.dll!AfxWndProcBase(HWND__ * hWnd=0x000a2636, unsigned int nMsg=513, unsigned int wParam=1, long lParam=11993101) Line 411 + 0x15 bytes C++
user32.dll!7e418734()
user32.dll!7e418816()
user32.dll!7e4189cd()
user32.dll!7e418a10()
user32.dll!7e4274ff()
user32.dll!7e43c6d3()
mfc80d.dll!CWnd::IsDialogMessageA(tagMSG * lpMsg=0x00159f00) Line 198 C++
mfc80d.dll!CWnd::PreTranslateInput(tagMSG * lpMsg=0x00159f00) Line 4268 C++
mfc80d.dll!CControlBar::PreTranslateMessage(tagMSG * pMsg=0x00159f00) Line 443 + 0xc bytes C++
mfc80d.dll!CWnd::WalkPreTranslateTree(HWND__ * hWndStop=0x000b254a, tagMSG * pMsg=0x00159f00) Line 2882 + 0x14 bytes C++
mfc80d.dll!AfxInternalPreTranslateMessage(tagMSG * pMsg=0x00159f00) Line 233 + 0x12 bytes C++
mfc80d.dll!CWinThread::PreTranslateMessage(tagMSG * pMsg=0x00159f00) Line 773 + 0x9 bytes C++
mfc80d.dll!AfxPreTranslateMessage(tagMSG * pMsg=0x00159f00) Line 252 + 0x11 bytes C++
mfc80d.dll!AfxInternalPumpMessage() Line 178 + 0x18 bytes C++
mfc80d.dll!CWinThread::PumpMessage() Line 896 C++
mfc80d.dll!CWinThread::Run() Line 625 + 0xd bytes C++
mfc80d.dll!CWinApp::Run() Line 894 C++
mfc80d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00151f12, int nCmdShow=1) Line 47 + 0xd bytes C++
|
|
Technical Support
|
Jan 2, 2009 - 3:03 PM
|
We need your help in reproducing this crash.
|
|
Offer Har
|
Jan 2, 2009 - 3:08 PM
|
My problem is that it does not happen in all trees, and nodes. Any clue to how come m_arrGridVis.GetAt( nRowNo ) Can return NULL would help me create a reproducible application... Thanks, Ron.
|
|
Paul Boswell
|
Dec 31, 2008 - 10:57 AM
|
My application (which now incorporates Prof-UIS) causes Windows to display an error message whenever a file of its type is double clicked on. The error message says: "Windows cannot find ’[doc file]’. Make sure you typed in the name correctly, and then try again. To search for a file, click the Start button, and then click Search." Despite the error message, the document opens correctly. I have not yet determined the exact cause of the error, but it looks like Windows generates the message after pMainFrame->LoadFrame(IDR_MAINFRAME). At first I assumed the problem had to do with my application, but after looking at the MDIDOCVIEW sample application, I found that it does exactly the same thing. If you save a document, close the application, and then double click on the document, the same error message is generated. Any idea what is causing this error?
|
|
Paul Boswell
|
Dec 31, 2008 - 1:44 PM
|
If it makes a difference, I’m running on a dual core Windows XP machine.
|
|
Technical Support
|
Jan 2, 2009 - 3:07 PM
|
We can’t reproduce this problem both on XP and Vista. It looks as you run other application which registered .sampledoc extension, then you removed this other application and then trying to use this extension with the MDIDOCVIEW sample application.
|
|