In the implementation of CWnd::GetScrollLimit
int CWnd::GetScrollLimit(int nBar)
{
int nMin, nMax;
GetScrollRange(nBar, &nMin, &nMax);
SCROLLINFO info;
if (GetScrollInfo(nBar, &info, SIF_…
Created on 1/27/2013 (updated 12 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 777604
|
|
|
Closed
as Fixed
|
|
The following C# code throws an "System.Reflection.TargetInvocationException" in the line with "InvokeMember("CallWithOut" ... ".
If I remove the comment and initialize Parameters[0] with an instance…
Created on 6/29/2012 (updated 36 weeks ago) | 0 validations | 0 workarounds | 4 comments | feedback id: 751530
|
|
|
Closed
as By Design
|
|
In the MFC there are still several user-data variables of type DWORD which prohibits storing a pointer in a 64-bit application.
(The standard type in the Win-API for is DWORD_PTR which has 32/64 bits…
Created on 3/14/2012 (updated 42 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 731157
|
|
|
Closed
as Fixed
|
|
CMFCEditBrowseCtrl does not have a DECLARE_DYNAMIC declaration.
Thus
IMPLEMENT_DYNAMIC(CMyMFCEditBrowseCtrl, CMFCEditBrowseCtrl)
produces a compiler error if _AFXDLL is not defined (i.e. linkin…
Created on 2/8/2012 (updated 35 weeks ago) | 1 validation | 0 workarounds | 6 comments | feedback id: 724022
|
|
|
Closed
as Fixed
|
|
The following code leads the C++ compiler to strange
type deductions:
If USE_NS is not defined then it works as expected and produces C2914 and C2784 errors.
On the other hand, if USE_NS is defi…
Created on 1/20/2012 (updated 12 weeks ago) | 0 validations | 1 workaround | 3 comments | feedback id: 719597
|
|
|
Closed
as Deferred
|
|
in the method CGlobalUtils::GetDockingManager(CWnd* pWnd) the part
------------
else if (pWnd->IsKindOf(RUNTIME_CLASS(CPaneFrameWnd)))
{
CPaneFrameWnd* pMiniFrameWnd = DYNAMIC_DOWNCAST(CPaneFr…
Created on 10/19/2011 (updated 79 weeks ago) | 0 validations | 0 workarounds | 5 comments | feedback id: 695669
|
|
|
Closed
as Not Reproducible
|
|
in the method CMFCToolBarMenuButton::CopyFrom the field m_bDrawDownArrow is not copied from source
Created on 10/13/2011 (updated 81 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 694686
|
|
|
Closed
as By Design
|
|
In the following example the constructor of stc_a is not called at startup, so the vtable is 0 and the program crashes at the call to foo() through a pointer to stc_a.
With stc_a_dummy (using the con…
Created on 3/22/2011 (updated 88 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 652743
|
|
|
Closed
as Fixed
|
|
when calling CContextMenuManager::TrackPopupMenu with a CDialogEx/CMFCPropertyPage based class as pWndOwner you get an assertion in CContextMenuManager::ShowPopupMenu as bOwnMessage is FALSE
Created on 9/3/2010 (updated 28 weeks ago) | 0 validations | 0 workarounds | 7 comments | feedback id: 594365
|
|
|
Closed
as Not Reproducible
|
|