PROP_SM_CXDLG
-
in my SDI VC6.0 project, I have two property sheets in my form view. I want the left one to be skinny, so I can make the right one wider. I used IDD_PROPPAGE_SMALL as the template for the property pages in the left property sheet, and set the dimension to be 150x265 dialog units. But somehow, the left sheet is still pretty big. I googled a bit, and it turned out the limitation is PROP_SM_CXDLG defined in prsht.h. I add thse to mypropertypage.h, but they don't seem to work. Anyone can point out what I did wrong please? TIA! #ifdef PROP_SM_CXDLG #undef PROP_SM_CXDLG #define PROP_SM_CXDLG 150 #endif #ifdef PROP_MED_CXDLG #undef PROP_MED_CXDLG #define PROP_MED_CXDLG 150 #endif #ifdef PROP_LG_CXDLG #undef PROP_LG_CXDLG #define PROP_LG_CXDLG 150 #endif