Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Tab-order in property-grid BindSample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tab-order in property-grid BindSample

 Post Reply Post Reply
Author
Message
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Topic: Tab-order in property-grid BindSample
    Posted: 07 June 2005 at 6:29am
Hello,

is it possible to change the tab-order in the above-mentioned example?
Currently it is property-tree -> OK -> Cancel -> property-grid and I would like
to change it to property-tree -> property-grid -> OK -> Cancel.

I use XTP 9.601, WinXP, Visual Studio 6.0.

Best regards
   Holger

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2005 at 11:51pm

call in the end of CPropertiesDlg::OnInitDialog

 m_wndGridGeneral.SetWindowPos(&m_wndProperties, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
 m_wndGridDesigner.SetWindowPos(&m_wndProperties, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);
 m_wndGridBuild.SetWindowPos(&m_wndProperties, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2005 at 7:18am
Thanks Oleg, it works:-)

BTW can you give me a hint on how I can create a splitter between the property-tree and the property-grid? AFAIK the XTP-splitters only work with views and not with dialog-controls directly (or do I missed an example?).

Best regards,
   Holger

Back to Top
farr02 View Drop Down
Groupie
Groupie


Joined: 10 May 2005
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote farr02 Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2005 at 5:10am
Regarding the splitter I finally ended up using one of the numerous splitter classes for dialogs posted to codeguru.com and codeproject.com.

Bye
   Holger

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.