Re: Child Dialog window over CFormView

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: David Lowndes (davidl_at_example.invalid)
Date: 05/12/04


Date: Wed, 12 May 2004 09:18:46 +0100


>Next Back and Cancel buttons are on CFormView and the rest of wizard is on a
>child window when i've focus on the child window the Tabstop doesn't comes
>to Next Back and Cancel buttons nor the Hotkeys of these buttons work.

Try using the WS_EX_CONTROLPARENT style. Have a look at Knowledge Base
article 149501 "PRB: Child CProperty*** Hangs If Focus Is Switched"
and the topic "Dialog Box Programming Considerations " on MSDN.

Dave

-- 
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Quantcast