Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Please mirror SetViewDivider with a Get..
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please mirror SetViewDivider with a Get..

 Post Reply Post Reply
Author
Message
ddyer View Drop Down
Groupie
Groupie
Avatar

Joined: 01 December 2003
Location: United States
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddyer Quote  Post ReplyReply Direct Link To This Post Topic: Please mirror SetViewDivider with a Get..
    Posted: 04 December 2003 at 12:26pm

Currently the only way to access the divider property is to reverse-engineer the formula:

// Mimic one propertyGrid's viewDivider with another
CXTPWindowRect rcWindow(&curr->GetGridView());
next->SetViewDivider((DOUBLE)curr->GetGridView().GetDi viderPos() / (DOUBLE)rcWindow.Width());

 

It would be much nicer if we could do:

next->SetViewDivider(curr->GetViewDivider());

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.125 seconds.