Log in

View Full Version : Intro to User Interface Controls in C++ for Windows Mobile 5


Mike Temporale
07-05-2005, 08:15 PM
<div class='os_post_top_link'><a href='http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/nativec_dev_wm_vs2005.asp' target='_blank'>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/nativec_dev_wm_vs2005.asp</a><br /><br /></div><img src="http://www.smartphonethoughts.com/images/msdn_masthead_ltr.gif" alt="User submitted image" title="User submitted image"/> <br /><br /><i>"If you have been developing applications by using C# or Microsoft Visual Basic .NET for Windows Mobile-based devices, it's likely that you appreciate the Rapid Application Development (RAD) tools environment. It's extremely convenient to double-click a button control that you dragged from the Toolbox, and, as a result, the tool inserted the handler code into your application. For C++ developers, the process is not quite as automatic. The C++ developer demands flexibility. What comes with flexibility, however, is extra coding that is required for creating and handling controls. This article describes a basic application that creates a dialog box and some controls. Then, it focuses briefly on the code that is required to make use of the dialog box and controls. The article also touches on creating softkeys for the Smartphone platform."</i>

martyh1
07-05-2005, 11:37 PM
I wonder if these same methods could be applied to porting a WM2003 app for pocket pc to smartphone using embedded vc++ 4.0. It seems to address my initial concerns (soft keys, screen size). My app already runs on the smartphone, its just not usable (screensize, lack of soft keys, dependency on touch screen, etc, etc). I think the main problem with trying to use it with embedded vc++ 4.0 is that you can't specifically target smartphone. Therefore, the development environment would end up causing you problems (controls missing for smartphone, or controls only in pocket pc, help set for pocket pc APIs, etc, etc).