CPropertySheet
Nanda -- nanda@genius.tisl.soft.net Thursday, July 04, 1996 ENVIRONMENT: VC++ 4.0 NT3.51 PROBLEM : Creating a PropertySheet inside a PropertyPage. Description: I have a propertysheet having a few propertypages. In one of the propertypage i want a propertysheet. I am able to create the propertysheet and tab around through all the pages. The problem comes when i try to Alt+Tab to another application and then come back. In this case the first application never comes up. The propertysheet which is created inside the page has the style : WS_CHILD. Can any one tell me whatz going wrong ? Thanx in adv. Srikanta
beriksen@cda.com Monday, July 08, 1996 If you don't have/can't access the mfc-l archive... What I did to solve this problem was to add the CONTROLPARENT style to the nested sheet. In OnInitDialog() of the inner CPropertySheet-derived object, add that style. Here's what I did: BOOL CHypoPortfolioSheet::OnInitDialog(void) { ModifyStyleEx(0,WS_EX_CONTROLPARENT); return CPropertySheet::OnInitDialog(); } Brian Eriksen beriksen@cda.com ______________________________ Forward Header __________________________________ Subject: CPropertySheet Author: Brian Eriksen at cdarvpo2 Date: 7/8/96 10:23 AM ENVIRONMENT: VC++ 4.0 NT3.51 PROBLEM : Creating a PropertySheet inside a PropertyPage. Description: I have a propertysheet having a few propertypages. In one of the propertypage i want a propertysheet. I am able to create the propertysheet and tab around through all the pages. The problem comes when i try to Alt+Tab to another application and then come back. In this case the first application never comes up. The propertysheet which is created inside the page has the style : WS_CHILD. Can any one tell me whatz going wrong ? Thanx in adv. Srikanta
| Вернуться в корень Архива |