Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I tried to create propertysheet and propertypage both in SDI and Dialog based application.. I am getting the all the propertypage background in white color.. Anybody knows how to resolve this?
Posted
Comments
Sergey Alexandrovich Kryukov 19-Mar-12 11:35am    
Resolve what?
--SA

1 solution

Try adding WS_EX_CONTROLPARENT style to your PropertySheet...

C++
BOOL CMySheet::OnInitDialog()
{
    ModifyStyleEx (0, WS_EX_CONTROLPARENT);
    return CPropertySheet::OnInitDialog();
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900