Changing the border style of property sheet
Hi friends,
In my application, i have one property sheet which i need to use in two different ways.
1. I need to embed that property sheet within the tab control present in another dialog.
2. The other one is to act as separate dialog box(modal).
For the first one, i need to change the Style property to child and Border property to none.
For the second one, i need to change the Style property to pop up and Border property to dialog frame.
how can i change the properties of the property sheet dynamically?
please give some suggestions.
[609 byte] By [
palz] at [2007-11-20 11:36:32]

# 2 Re: Changing the border style of property sheet
Thank you for your reply Mr.JohnCz.
I'm new to VC++. I need to know the function used to set the border style.
palz at 2007-11-10 22:26:05 >

# 3 Re: Changing the border style of property sheet
I assumed from the beginning that you are using MFC.
If not, changes to a property sheet style would have to be made in WM_INITDIALOG handler.
If MFC, use ModifyStyle. There are two versions: static and non-static members of the CWnd class.
If API, use GetWindowLong and SetWindowLong passing GWL_STYLE offset.
JohnCz at 2007-11-10 22:27:03 >
