Professional UI Solutions
Site Map   /  Register


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 General Discussion » profuis control disappear or are not at the correct position after resizing window Collapse All
Subject Author Date
Borremans Pierre Nov 18, 2011 - 1:06 AM

Sometimes after resizing a cextresizable window or when we open internet explorer from our application, prof-uis control disappear or are not at the correct position

We have this problem on Terminal Server or on Windows Seven. We use prof-uis 285



Do you have a solution for resolving this problem ?




Technical Support Nov 21, 2011 - 1:18 PM

he problem should not depend on the type of desktop. We suspect some code somehow changes Z-order of group box window. Please add the SWP_NOZORDER | SWP_NOOWNERZORDER flags into invocations of SetWindowPos() / DeferWindowPos() APIs.

Borremans Pierre Nov 18, 2011 - 6:30 AM

On a terminal server if we close the connexion without exiting our application, the next time we connect to the terminal server some control are not visible :

link to image :


over each cextedit we have a cextlabel.

This window is dynamically created, the window have the WS_CLIPSIBLINGS and WS_CLIPCHILDREN style

and for each control inside groupbox we use this command :

m_pEdit[i]->SetWindowPos(&wndBottom,0,nYstart - (nHeightLabel + nbetweenLabelEdit),0,0,SWP_NOSIZE);

and for groupbox :

m_pGroupBOx[j]->SetWindowPos(&wndTop, 5, nYStartFrame,nWidthFrame,nHeightFrame + nCreditOffset , 0);