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

Using EasySize

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
3 Posts 3 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.
  • M Offline
    M Offline
    mcguile257
    wrote on last edited by
    #1

    I am using Marc's EasySize.h for easy resizing of controls within a dialog-based application. I need help with getting the message map right for the following controls: 1) I have two list controls side-by-side that I want to resize proportionately to the resize. How do I code the message map for the easy size? EASYSIZE( control, left, top, right, bottom, options ) 2) Also in the dialog I have 5 buttons that are lined up on the bottom of the dialog centered horizontally. Can someone help me get the message map right for these controls as well? THANKS!

    A M 2 Replies Last reply
    0
    • M mcguile257

      I am using Marc's EasySize.h for easy resizing of controls within a dialog-based application. I need help with getting the message map right for the following controls: 1) I have two list controls side-by-side that I want to resize proportionately to the resize. How do I code the message map for the easy size? EASYSIZE( control, left, top, right, bottom, options ) 2) Also in the dialog I have 5 buttons that are lined up on the bottom of the dialog centered horizontally. Can someone help me get the message map right for these controls as well? THANKS!

      A Offline
      A Offline
      avenger_sb25
      wrote on last edited by
      #2

      Can u be a bit more specific about ur question? what exactly do u need? Do you want to know how to resize the controls, or how your function works?


      Remember... testing & debugging are always part of programming ...so exterminate those stinking bugs

      1 Reply Last reply
      0
      • M mcguile257

        I am using Marc's EasySize.h for easy resizing of controls within a dialog-based application. I need help with getting the message map right for the following controls: 1) I have two list controls side-by-side that I want to resize proportionately to the resize. How do I code the message map for the easy size? EASYSIZE( control, left, top, right, bottom, options ) 2) Also in the dialog I have 5 buttons that are lined up on the bottom of the dialog centered horizontally. Can someone help me get the message map right for these controls as well? THANKS!

        M Offline
        M Offline
        Michael Haephrati
        wrote on last edited by
        #3

        If you download the source code of the [following article](https://www.codeproject.com/Articles/1657/EasySize-Dialog-resizing-in-no-time) , you will see examples of different alignments of controls.

        - Michael Haephrati מיכאל האפרתי

        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