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 » CExtPageContainerWnd style bug Collapse All
Subject Author Date
Krustys Donuts Nov 16, 2005 - 7:13 AM

Originally, I was using the __EPCWS_SINGLE_EXPANDED and __EPCWS_SINGLE_FULL_SIZE style bits. I then decided that I wanted to use __EPCWS_NOT_ALL_CONTRACTED. When I did this, the pages started to animate when clicked on, which is what I don’t want. I then checked the docs for __EPCWS_NO_EXPAND_ANIMATION, and it says that this is the same as (__EPCWS_SINGLE_EXPANDED|__EPCWS_SINGLE_FULL_SIZE|__EPCWS_NOT_ALL_CONTRACTED). However, that isn’t the case, because I use those style bits already, and it’s animating.

Here is the exact style I’m using:

__EPCWS_CAPTION_HOVER | __EPCWS_CAPTION_TOOLTIPS | __EPCWS_CAPTION_CENTER_TEXT | 
__EPCWS_SINGLE_EXPANDED | __EPCWS_SINGLE_FULL_SIZE | __EPCWS_NOT_ALL_CONTRACTED

Technical Support Nov 16, 2005 - 11:19 AM

The __EPCWS_NOT_ALL_CONTRACTED style does nothing if the__EPCWS_SINGLE_FULL_SIZE and __EPCWS_SINGLE_EXPANDED styles are turned on. Please run the PageContainer sample application. The first three check boxes inside the Page Container Options group box correspond to the __EPCWS_SINGLE_EXPANDED, __EPCWS_SINGLE_FULL_SIZE and __EPCWS_NOT_ALL_CONTRACTED styles. If the first and the second are checked, then the third one does not affect the page container’s layout.

Krustys Donuts Nov 16, 2005 - 11:49 AM

Sorry, I should have just said "this looks like a documentation error". Here’s what the docs say:

__EPCWS_NO_EXPAND_ANIMATION

Do not perform a MS-Outlook(R)-like expand animation (__EPCWS_SINGLE_EXPANDED|__EPCWS_SINGLE_FULL_SIZE|__EPCWS_NOT_ALL_CONTRACTED).



I interpreted this to mean that if you have those three style bits set, the __EPCWS_NO_EXPAND_ANIMATION doesn’t need to be set. However, it still does. If I use this style bit, everything works as expected.

On another note, you said that if the first and second checkboxes are checked in the test app, the third does not affect the container’s layout. When I ran it and tried it, clicking the third checkbox clearly had an effect on the behavior of the page captions.