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

PROP_SM_CXDLG

Scheduled Pinned Locked Moved C / C++ / MFC
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.
  • L Offline
    L Offline
    lucy 0
    wrote on last edited by
    #1

    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

    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