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. Spinbox Set long for range

Spinbox Set long for range

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

    Is there any way to set long type for sping box max and min value. Right now I am using the spinbox. when i set spin box 10000000 for max value and 1 for min value as i click up arrow, the value in edit bx come down and vice versa for down arrow. I have to find a way to set larger range for this spinbox any help is appreciated Shin

    S 1 Reply Last reply
    0
    • S shinay

      Is there any way to set long type for sping box max and min value. Right now I am using the spinbox. when i set spin box 10000000 for max value and 1 for min value as i click up arrow, the value in edit bx come down and vice versa for down arrow. I have to find a way to set larger range for this spinbox any help is appreciated Shin

      S Offline
      S Offline
      sam India
      wrote on last edited by
      #2

      you can use the function SetRange32 to increase the range of your spin control. kindly deselect "No thousands" check box in the spin control properties dialog. CSpinButtonCtrl *pCtrl = (CSpinButtonCtrl *)GetDlgItem(IDC_SPIN); pCtrl->SetRange32(lower limit,upper limit); never say die

      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