Главная страница | назад





Article #15935: 16-bit TPropertySheets in NT4 vs. Win95

 Question and Answer Database
FAQ935C.txt 16-bit TPropertySheets in NT4 vs. Win95
Category :Windows API
Platform :Windows NT
Product : All32Bit
Question:
My 16-bit TPropertySheet and TPropertyPage worked fine on Win95,
but in NT4 the pages are disabled, and appear in the wrong spot.
However, the example works fine.
Answer:
It turns out that Win95 will allow a 16-bit program to use the
common controls, but NT never will. So, you are using the
emulation of the common control on NT. The common control
doesn't care too much about the styles for the dialogs which are
the property pages, but the emulation does.
Probably the styles are wrong. They should be WS_CHILD | WS_VISIBLE.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99