Tabbed Dialogs locks up

Hi there, I've got a Dialog resource created with the CreateDialog function, which contains a tab control (from the common controls set). I use CreateDialog to create further child dialogs, one for each tab, which have the tab control as their parent.

Here's the weird part: whilst radio buttons and lists, etc. on one of the tabs work fine, a command button on the SAME tab causes the whole thing to lock up when you press it - the button doesn't even get redrawn in the 'pressed' state, it just totally freezes after getting a WM_ACTIVATE message.

Any thoughts?
[606 byte] By [andygeers] at [2007-11-19 19:43:47]
# 1 Re: Tabbed Dialogs locks up
Why not use a Property Sheets ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/propsheet/propsheet.asp) instead ?
kirants at 2007-11-9 13:20:22 >
# 2 Re: Tabbed Dialogs locks up
Why not use a Property Sheets (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/propsheet/propsheet.asp) instead ?

The impression give is that with Property Sheets the parent window can't have any additional controls - you're limited to "Apply", "OK" and "Cancel" - correct? I wanted to be able to have other controls (including a menu, etc.) that belong to the parent window and are thus common to all of the tabs.
andygeers at 2007-11-9 13:21:21 >
# 3 Re: Tabbed Dialogs locks up
The impression give is that with Property Sheets the parent window can't have any additional controls - you're limited to "Apply", "OK" and "Cancel" - correct?
Depends what you mean by parent window.
Anyway in property sheet or any other window that hosts property sheet you can have any buttons you want.
JohnCz at 2007-11-9 13:22:18 >