i found the article http://support.microsoft.com/kb/146916 !
This code i used for creating an modeless Propertysheet!
This works fine under VS6 but now i converted my code to VS10 and now the Application crashes.
I got "Unhandled exception at 0x77863f44 in ntc250.exe: 0xC000001D: Illegal Instruction." @ the function ::CallWindowProc with nMsg 295!
I also had to change the winver from 0x0400 to 0x0501 to get my code running under VS10!
Does anyone have an idea?