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. Mobile Development
  3. Mobile
  4. How to scale the form/controls size

How to scale the form/controls size

Scheduled Pinned Locked Moved Mobile
helptutorialquestion
2 Posts 2 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.
  • P Offline
    P Offline
    pashitech
    wrote on last edited by
    #1

    Hi, I have developed an application, where I am manually setting range values(height,lenth etc) and desplaying. BUT, Now if I want to change the mobile's view from portaint to Landscape I couldn't resize.. I am dynamically finding perticular mobile's supported values using... getsystemmatrics but not satisified fully, any other method which helps me to findout....controls values, range, location etc... and how to findout where a perticular control is placed? help me... Thanks, prashanth

    D 1 Reply Last reply
    0
    • P pashitech

      Hi, I have developed an application, where I am manually setting range values(height,lenth etc) and desplaying. BUT, Now if I want to change the mobile's view from portaint to Landscape I couldn't resize.. I am dynamically finding perticular mobile's supported values using... getsystemmatrics but not satisified fully, any other method which helps me to findout....controls values, range, location etc... and how to findout where a perticular control is placed? help me... Thanks, prashanth

      D Offline
      D Offline
      debajyotic
      wrote on last edited by
      #2

      If I am not getting you wrong you like to know how to change the view from Landscape to portrait and vice-versa.If Yes, then you have to handle WM_SIZE and WM_SETTINGCHANGE.Try it.:-D

      Dev

      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