How could I change the CMFCPropertyGridCtrl Property or value column width
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi, How could I change the
CMFCPropertyGridCtrl
Property or Value column width? a sample code would be more useful
somehow late, but here you are:
class CMyPropertyGridCtrl : public CMFCPropertyGridCtrl
{
public:
int SetFirstColumn(int iwidth){ m_nLeftColumnWidth = iwidth;
AdjustLayout();return 0;};
};...
{
...
CMyPropertyGridCtrl blah;
int iwidth;blah.SetFirstColumn(iwidth);
...
}
... -
somehow late, but here you are:
class CMyPropertyGridCtrl : public CMFCPropertyGridCtrl
{
public:
int SetFirstColumn(int iwidth){ m_nLeftColumnWidth = iwidth;
AdjustLayout();return 0;};
};...
{
...
CMyPropertyGridCtrl blah;
int iwidth;blah.SetFirstColumn(iwidth);
...
}
...failed :(
Best Regards