Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » Main Document Window keeps refreshing Collapse All
Subject Author Date
howard liu Nov 3, 2009 - 2:06 AM

Dear support,


The app works fine with IDE VS2003 and PROFUIS285 libs, but after upgrading the IDE from VS2003 to VS2005, when launching the app, the Main document Window appears, but it keeps refreshing without responding to any mouse click event, except ’minimize’, ’maximize’, and ’close’ icon in the top right corner.


When debugging into the app, it shows the ’CWnd::OnActivateApp’ was being invoked repeatedly by mfc framework, which was invoked by PROFUIS285d.dll (ExtHook.cpp,   LRESULT HookChainsWindowProc(

        UINT nMessage,

        WPARAM & wParam,

        LPARAM & lParam

        ))


has anyone experienced similar UI refreshing problem before ? Any idea what’s the cause of this and how to fix it? Thank you.


 

Technical Support Nov 4, 2009 - 2:58 AM

The call stack listing looks like normal handling of the WM_ACTIVATEAPP standard message by the main frame window. But it looks like only at a glance. The call stack listing seems incomplete or corrupted. The CExtGridJoinManager::OnColumnRemoved() method cannot be at the bottom of the stack and the WinMainCRTStartup(). If you are using Prof-UIS, then you definitively don’t need classes like CCoolMenuManager and CSubclassWnd. How long time ago did you rebuild your project and all its modules completely from scratch? Do you use any other components and/or libraries which perform UI skinning, especially window non-client area skinning?

howard liu Nov 3, 2009 - 6:08 PM

Vector NTI 10.exe!CMainFrame::OnActivateApp(int bActive=1, unsigned long hTask=5536) Line 3791    C++
mfc80d.dll!CWnd::OnWndMsg(unsigned int message=28, unsigned int wParam=1, long lParam=5536, long * pResult=0x0006f55c) Line 2036    C++
mfc80d.dll!CWnd::WindowProc(unsigned int message=28, unsigned int wParam=1, long lParam=5536) Line 1741 + 0x20 bytes    C++
Vector NTI 10.exe!CExtNCW<CMDIFrameWnd>::WindowProc(unsigned int message=28, unsigned int wParam=1, long lParam=5536) Line 475 + 0x14 bytes    C++
mfc80d.dll!AfxCallWndProc(CWnd * pWnd=0x039e5d70, HWND__ * hWnd=0x00330e36, unsigned int nMsg=28, unsigned int wParam=1, long lParam=5536) Line 240 + 0x1c bytes    C++
mfc80d.dll!AfxWndProc(HWND__ * hWnd=0x00330e36, unsigned int nMsg=28, unsigned int wParam=1, long lParam=5536) Line 389    C++
mfc80d.dll!AfxWndProcBase(HWND__ * hWnd=0x00330e36, unsigned int nMsg=28, unsigned int wParam=1, long lParam=5536) Line 411 + 0x15 bytes    C++
user32.dll!7e418734()     
[Frames below may be incorrect and/or missing, no symbols loaded for user32.dll]    
user32.dll!7e418816()     
user32.dll!7e42a013()     
user32.dll!7e42a998()     
ProfUIS285md.dll!CExtHookSink::HookChains_t::HookChainsWindowProc(unsigned int nMessage=28, unsigned int & wParam=1, long & lParam=5536) Line 227 + 0x20 bytes    C++
ProfUIS285md.dll!CExtHookSink::HookChains_t::g_HookWndProc(HWND__ * hWnd=0x00330e36, unsigned int nMessage=28, unsigned int wParam=1, long lParam=5536) Line 291 + 0x14 bytes    C++
user32.dll!7e418734()     
user32.dll!7e418816()     
user32.dll!7e42a013()     
user32.dll!7e42a998()     
VectorNTIUtils.dll!CSubclassWnd::WindowProc(unsigned int msg=28, unsigned int wp=1, long lp=5536) Line 91 + 0x5e bytes    C++
VectorNTIUtils.dll!CCoolMenuManager::WindowProc(unsigned int msg=28, unsigned int wp=1, long lp=5536) Line 427    C++
VectorNTIUtils.dll!HookWndProc(HWND__ * hwnd=0x00330e36, unsigned int msg=28, unsigned int wp=1, long lp=5536) Line 145 + 0x1b bytes    C++
user32.dll!7e418734()     
user32.dll!7e418816()     
user32.dll!7e428ea0()     
user32.dll!7e428eec()     
ntdll.dll!7c90e473()     
user32.dll!7e4193e9()     
user32.dll!7e4193a8()     
user32.dll!7e42a43b()     
mfc80d.dll!CWinThread::Run() Line 636 + 0x15 bytes    C++
mfc80d.dll!CWinApp::Run() Line 894    C++
Vector NTI 10.exe!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00091f15, int nCmdShow=1) Line 1174 + 0xd bytes    C++
Vector NTI 10.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00091f15, int nCmdShow=1) Line 33    C++
Vector NTI 10.exe!__tmainCRTStartup() Line 589 + 0x35 bytes    C
Vector NTI 10.exe!WinMainCRTStartup() Line 414    C
kernel32.dll!7c817077()     
Vector NTI 10.exe!std::vector<CRSite *,std::allocator<CRSite *> >::~vector<CRSite *,std::allocator<CRSite *> >() Line 547 + 0xf bytes    C++
Vector NTI 10.exe!std::vector<CRSite *,std::allocator<CRSite *> >::~vector<CRSite *,std::allocator<CRSite *> >() Line 547 + 0xf bytes    C++
Vector NTI 10.exe!CGeneralOptionsPage::DoDataExchange(CDataExchange * pDX=0x00780053) Line 337    C++
Vector NTI 10.exe!std::vector<CRSite *,std::allocator<CRSite *> >::~vector<CRSite *,std::allocator<CRSite *> >() Line 547 + 0xf bytes    C++
ProfUIS285md.dll!CExtGridJoinManager::OnColumnRemoved(unsigned long nColNo=, unsigned long nColCount=, CExtGridDataProvider & _DP=) Line 48456 + 0x15 bytes    C++


The call stack was listed above, the OnActivateApp was kept invoking which keeps refreshing the main UI. I did not try with other Prof-UIS sample apps.

Technical Support Nov 3, 2009 - 12:59 PM

Please provide us with a call stack listing. Is it possible to reproduce this issue with any of Prof-UIS sample applications?