|
|
|
|
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 |
|
Harvey Cohen
|
Apr 6, 2005 - 11:27 PM
|
Hello,
I am in the final stages of evaluating Prof-UIS for commerical use and have found one lingering issue that I can’t seem to resolve.
Based on the examples given with Prof-UIS, I am using a CExtControlBar as a container for a CScrollView. The contents of the CScrollView are not strictly speaking part of my document but is used to display and edit information usable for all documents of the application I am working on. Thus placing the CScrollView inside a CExtControlBar seems to be the proper thing to do. Thos control bar, and it’s embedded CScrollView, are only to be used when a document in my MDI application is not open.
The CExtControlBar and the CScrollView are created as follows:
--> IN MainFrm.cpp <---
if( !theContainer.Create( _T("the Container"), this, ID_VIEW_THECONTAINER)) { TRACE0("Failed to create theContainer\n"); return -1; // fail to create }
and later
BOOL theAnswer = theDesigner->Create (theRect, &theContainer, ID_DESIGNER);
theDesigner is of class Designer, which is derived from CScrollView. The variable theContainer is of class CExtControlBar.
The controlBar theContainer is set to be floating and initially hidden.
When I need theDesigner to be visible, I cause theContainer to appear by using ShowControlBar.
When theContainer first appears, the contents of the CScrollView contained withing the CExtControlBar are slightly jumbled and out of place. If I resize the control bar, even a little, everything looks and act properly.
Is this a bug in Prof UIS or am I not doing something? I really want the CExtControlBar, upon being made visible, to look proper. I am guessing that something is not being properly activated or initialized upon creation, only to have the activation or initiaization occuring during a resizing of the CExtControlBar.
TIA
Harvey
|
|
Technical Support
|
Apr 7, 2005 - 10:45 AM
|
Dear Harvey,
We cannot yet make any conclusion about the contents of CScrollView that is jumbled up in CExtControlBar . For example, some control bars in the ProfStudio application also have scrolling contents and we cannot say that they show a similar behavior. Could you send us a test project that demonstrates this problem so that we can find out what causes it?
|
|