CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2011
    Location
    India
    Posts
    333

    Increment / Decrements Values using Button Control (long press)

    Hi

    I was used button control for inc / dec values of edit control.

    Every single press of button control works properly.

    I like to do continuous inc / decr process when long press button control.

    I was checked the default functions of button. But couldn't work.

    Using cursor position, i was done but this same concept to be implement more than 30 screens in my project.

    That's little difficult to proceed.

    Pls suggest a proper way..
    Attached Images Attached Images  
    Regards,

    SaraswathiSrinath

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Increment / Decrements Values using Button Control (long press)

    Victor Nijegorodov

  3. #3
    Join Date
    Nov 2011
    Location
    India
    Posts
    333

    Re: Increment / Decrements Values using Button Control (long press)

    Quote Originally Posted by VictorN View Post
    Why button?
    you should use Spin control instead!
    Currently I'm using Spin Control Only.

    While using my application from touch screen, its difficult to use spin control by others.

    That's why go for button control. Is it possible?
    Attached Images Attached Images  
    Last edited by saraswathisrinath; July 18th, 2019 at 01:29 AM.
    Regards,

    SaraswathiSrinath

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured