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 » Maximized Mainframe jumps on lengthy operations Collapse All
Subject Author Date
Stephan Finkler May 19, 2017 - 9:44 AM

Hi.

I have a problem with a maximized framewindow, when the application does a lengthy operation and seems to hang. Then the framewindow jumps 8 pixels to the left and 8 up and when the lengthy operation is finished, the framewindow jumps back.
Perhaps it has something to do with the DWM and it’s ’ghost’framewindow replacement for seemingly hanging apps.

If it was only once, that would be annoying but on customers machine it jumps frequently.


ProfUIS 2.81, 3.3, 3.4
Dev-Environment: VS 2010, VS 2015
OS: Windows 7, Windows 10, with or without Aero design

How to reproduce: Take a sample, i.e. "MDI" and add in MDI.cpp

// App command to run the dialog
void CMDIApp::OnAppAbout()
{
//--> add
CWaitCursor pleaseWait; // to show that we are waiting
Sleep ( 15000);
// <---
#ifndef __EXT_MFC_NO_PROF_UIS_ABOUT_DIALOG    
    VERIFY( ProfUISAbout() );
#endif // #ifndef __EXT_MFC_NO_PROF_UIS_ABOUT_DIALOG    
}

Compile release or debug and run without debugger. Select OnAppAbout() .. click another Process/ application and set focus back to app MDI.exe.

(Perhaps I have this issue added twice, for I was kicked outteh logged in session before sending...)

Thanks in advance.
Michael

TSELLC Support Sep 1, 2017 - 9:22 AM

This will be reviewed on next version.

TSELLC_Support