Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6342067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:10:01+00:00 2026-05-24T20:10:01+00:00

I am developing for the .NET Compact Framework 3.5 in C# for Windows Mobile.

  • 0

I am developing for the .NET Compact Framework 3.5 in C# for Windows Mobile.

I need a button that has the following characteristics:

  1. An Image property so I can customize the look of the button with an
    Image
  2. A pressed Image property so I can customize the pressed look of
    the button.
  3. Drawing must be fast. When the button is pressed, the look
    should change to the pressed look very quickly so that the user knows
    very quickly that the button is pressed and does not need to wait for
    the look to change. When the button is released the look should change back to the unpressed look very quickly.
  4. All button clicks must be registered. Even if you tap the same button very rapidly, the click event should be fired that many times.
  5. All button clicks must quickly fire the Click event. Even if you tap the same button very rapidly, the click event should be quickly fired that many times.
  6. I do NOT need alpha blending support, but I guess it would not hurt if the other requirements were still met.

I tried the following but nothing meets all these needs yet:

Overriding the standard Button control’s OnPaint method has no effect in CF.

The PictureBox control does not meet requirement 4. When you rapidly press the same button, the number of Click events fired is less than the number of times you clicked the button. I have that exact same problem when I override the Control class with the smallest amount of code possible without even drawing images. What is strange is that the standard Button control does not have this problem.

The OpenNETCF 2.3 Button2 class does not meet requirement 4 since it has that same problem.

The AlphaMobileControls library does not meet requirements 3 and 5.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:10:02+00:00Added an answer on May 24, 2026 at 8:10 pm

    When the user clicks rapidly and repeatedly on a button, part of the events will be interpreted as double click events. This explans why you are seeing less than you expected. This is not specific for .net CF, but common to all windows flavors I am aware of.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a Windows Mobile 5.0 or above WinForm application using .NET Compact Framework
I'm developing a application for Windows Mobile using C#(.Net Compact Framework 3.5), but I
I'm developing a Windows Mobile WinForm app with C# and .Net Compact Framework 2.0
I'm developing a Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2
I'm developing a Windows Mobile 5.0 and above application using .Net Compact Framework 2.0
I'm developing a Windows Mobile 5.0 and above application with .Net Compact Framework 2.0
I'm developing a Windows Mobile 5.0 or above with .Net Compact Framework 2.0 SP2
I'm working with C#.net developing applications for windows mobile 6, and i need get
We work extensively in the .Net Compact Framework and Windows Mobile. I've seen plenty
I am developing a form in .NET Compact Framework, which hosts a variable number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.