Prev: Assertion in afxwin.inl line 24.
Next: MFC , domodal() crashes at VERIFY(RunModalLoop(dwFlags) == m_nModalResult);
From: Ivan Kossey on 30 Dec 2007 16:05 Hi All! I need to use Tab Controls. It works in standard way, with Property Pages. But I need to resize the window in runtime with mouse, minimize and maximize window. Property Page does not this because it is derived from CDialog. How to make it? Thanks Happy New Year!
From: Joseph M. Newcomer on 30 Dec 2007 23:39 You need to change its border style to "resizing border". You could subclass the CPropertySheet and modify this in the PreCreateWindow. joe On Sun, 30 Dec 2007 22:05:54 +0100, "Ivan Kossey" <kossey(a)cablenetREMOVE.de> wrote: > Hi All! > >I need to use Tab Controls. It works in standard way, with Property Pages. >But I need to resize the window in runtime with mouse, minimize and maximize >window. Property Page does not this because it is derived from CDialog. > >How to make it? > >Thanks > >Happy New Year! > Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Joseph M. Newcomer on 31 Dec 2007 13:34 Also, see the CTabView project on www.codeproject.com. Or download my Locale Explorer and see an adaptation of it. joe On Sun, 30 Dec 2007 22:05:54 +0100, "Ivan Kossey" <kossey(a)cablenetREMOVE.de> wrote: > Hi All! > >I need to use Tab Controls. It works in standard way, with Property Pages. >But I need to resize the window in runtime with mouse, minimize and maximize >window. Property Page does not this because it is derived from CDialog. > >How to make it? > >Thanks > >Happy New Year! > Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Ivan Kossey on 6 Jan 2008 17:17
Oh, in Borland's VCL it is much easier and flexibler than in MFC. "Joseph M. Newcomer" <newcomer(a)flounder.com> ???????/???????? ? ???????? ?????????: news:bisgn3dco2m8jiahvdg1s2ub8hocr90ja5(a)4ax.com... > You need to change its border style to "resizing border". You could subclass the > CPropertySheet and modify this in the PreCreateWindow. > joe > > On Sun, 30 Dec 2007 22:05:54 +0100, "Ivan Kossey" <kossey(a)cablenetREMOVE.de> wrote: > > > Hi All! > > > >I need to use Tab Controls. It works in standard way, with Property Pages. > >But I need to resize the window in runtime with mouse, minimize and maximize > >window. Property Page does not this because it is derived from CDialog. > > > >How to make it? > > > >Thanks > > > >Happy New Year! > > > Joseph M. Newcomer [MVP] > email: newcomer(a)flounder.com > Web: http://www.flounder.com > MVP Tips: http://www.flounder.com/mvp_tips.htm > |