Button Control

I apologize if this is too simple an issue, but I am just beginning a project targeted at smartphones (e.g., Treo 700w).

Why is there no button control in the toolbox for these devices I am porting an application from desktop and other Pocket PC devices, and I need the same look/feel on each device; i.e., I need to use buttons.



Answer this question

Button Control

  • Berber

    Sorry... got my own answer from more research on the forum. I come from a Palm background, and was assuming the existence of stylus and pointer devices.

    cxroh


  • Bernhard Wolkerstorfer

    Thank you for your assistance. Just to confirm then, when developing for the Treo 700w, one must use the Pocket PC form, not the smartphone form What happens with the phone-related controls

    cxroh


  • dotnetorjava

    For simple phone related scenarios on WM 5.0 you could use this instead of complicated TAPI:

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/mobilesdk5/html/T_Microsoft_WindowsMobile_Telephony_Phone.asp



  • mshvw

    Thanks again for your help. By phone controls, I only meant the ability to make a call by tapping on a phone number. I'm not familiar with TAPI but I assume it would do that.

    cxroh


  • Stojance

    different platform/design - you will have to use the menuitem/menustrip instead acting as buttons.

  • d72e4d

    Correct, Treo 700w is Pocket PC so you should use PPC project for it.

    What do you mean by "phone related controls" There's phone application running which is irrelevant in this case and there's TAPI for you to call for telephony functionality (e.g. make call). Managed wrapper is available for TAPI.



  • Kiran Suthar

    Buttons (and some other controls) are indeed not available on SmartPhone platform. That is because SmartPhone does not have a touch screen so buttons would be unusable. However, it’s not really an issue in case of Treo 700w as is not a SmartPhone but Pocket PC Phone Edition. Treo 700w has touch screen and it has buttons.

    If you’re targeting SmartPhone platform (e.g. Motorola Q), you would need to replace buttons with something else, for example LinkLabel.

    If you really need buttons, you can create a custom control which looks just like it. You would need to figure out how user would use them though.



  • Button Control