Bigger OLE property pages
-
At work I use Visual C++, programming for W2K and XP. We have a program that uses lots of "ocx"s, nearly all of which have property pages using COlePropertyPage. Nowadays, people have a lot of pixels on their screens and the property pages are getting a bit small. My boss asked me to look into enlarging the property pages. I did this on one of the ocxs and got the warning message box: "Dimensions should be 250x62 or 250x110 dialog units." This is from the _ValidatePageDialog() function in ctlppg.cpp in the MFC/SRC directory. This debug only function checks for those dimensions using hard-wired numbers! And although I enlarged the property pages in the resource file, they remained the same size when shown. So I'm wondering if anyone has a work-around for this: how can I make the property pages larger for an ocx? Thanks for your help....