Click here to Skip to main content
15,881,248 members
Articles / Mobile Apps / Windows Mobile

GPS and Web Service using C++ ATL/WTL (Windows Mobile 6, Standard)

Rate me:
Please Sign up or sign in to vote.
4.93/5 (27 votes)
18 Jan 2008CPOL7 min read 104.4K   1.4K   81  
This article explains how to use the GPS API and Web Service on a SmartPhone to show demographics information for the current location.
/////////////////////////////////////////////////////////////////////////////
//
// Menubars for standard dialogs declared in atlresce.h
//

ATL_IDM_MENU_DONE RCDATA 
BEGIN
    ATL_IDM_MENU_DONE, 1,
    I_IMAGENONE, ID_MENU_OK, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, 
    ID_MENU_OK, 0, NOMENU,
END


ATL_IDM_MENU_CANCEL RCDATA 
BEGIN
    ATL_IDM_MENU_CANCEL, 1,
    I_IMAGENONE, ID_MENU_CANCEL, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, 
    ID_MENU_CANCEL, 0, NOMENU,
END


ATL_IDM_MENU_DONECANCEL RCDATA 
BEGIN
    ATL_IDM_MENU_DONECANCEL, 2,
    I_IMAGENONE, ID_MENU_OK, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, 
    ID_MENU_OK, 0, NOMENU,
    I_IMAGENONE, ID_MENU_CANCEL, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, 
    ID_MENU_CANCEL, 0, NOMENU,
END

ATL_IDW_MENU_BAR SHMENUBAR DISCARDABLE 
BEGIN
    IDR_MAINFRAME, 
	2,
    I_IMAGENONE, ID_ACTION, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, ID_ACTION, 0, NOMENU,
    I_IMAGENONE, ID_MENU, TBSTATE_ENABLED, TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, ID_MENU, 0, 0,
END


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer CDYNE Corporation
United States United States
Developer, Maker and Tinkerer

Comments and Discussions