Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Bigger OLE property pages

Bigger OLE property pages

Scheduled Pinned Locked Moved C / C++ / MFC
c++questioncomdebugginghelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    garyflet
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups