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 » BackstageView / Recent File List Collapse All
Subject Author Date
Wilhelm Falkner Apr 24, 2012 - 11:03 AM

Hello,


I want to create a backstageview on the fly. In your samples this is done during creation, but I have to reflect changes, e.g. teh recent file list may have changed.


So, what I have tried:


- I have overwritten our function BackstageView_EnsureVisible. In this I do following:


          - I deleted the old Items with RcgtdItemRemoveAllChildren


          - I inserted my new items


at the end of the function I call your BackstageView_EnsureVisible.


Seems to work, no errors - but the window at screen is not updated. What do I miss, what do I have to do else?


TIA


Willi

Technical Support Apr 26, 2012 - 1:01 PM

The CExtRichContentScrollWnd::RcsDelayRecalcLayout() method tells the backstage/HTML view to recompute the HTML layout before an upcoming painting.

Wilhelm Falkner Apr 26, 2012 - 9:24 AM

Found it :-)


 


have to add at end:


OnRcgwGenerateContent and RcsTextSet