FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC can't see menu
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM

can't see menu

Posted: Sun Jun 15, 2008 08:22 AM

windows 2003 ce
I can't see menu in PPC

// FiveWin for Pocket PC - Using PullDown Menus

include "FWCE.ch"

//----------------------------------------------------------------------------//

function Main()

local oWnd

DEFINE WINDOW oWnd TITLE "Tutor03" ;
MENU BuildMenu()

ACTIVATE WINDOW oWnd ;
ON CLICK MsgInfo( "Click!" )

return nil

//----------------------------------------------------------------------------//

function BuildMenu()

local oMenu, oMenuItem

DEFINE MENU oMenu RESOURCE 102

REDEFINE MENUITEM ID 100 OF oMenu ACTION MsgInfo( "MenuItem action" ) WHEN .f.

REDEFINE MENUITEM ID 110 OF oMenu ACTION MsgAlert( "FWCE power!" )

return oMenu

//----------------------------------------------------------------------------//

best regards

kajot
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

can't see menu

Posted: Sun Jun 15, 2008 09:09 AM

Kajot,

Please check that the resources has been properly placed inside the EXE file.

You can use a tool like Borland Resources Workshop to check it.

Also, you may test the EXE in the Windows Mobile emulator to see if the menu is shown there.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM

can't see menu

Posted: Sun Jun 15, 2008 12:02 PM

I tested the EXE in the Windows Mobile emulator and I can't see MENU, what is RC file

best regards

kajot
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

can't see menu

Posted: Mon Jun 16, 2008 07:08 PM

kajot,

Please review samples\TestMenu.prg and TestMenu.rc to see the way to build pulldown menus in Windows Mobile, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM

can't see menu

Posted: Wed Jun 18, 2008 03:31 PM

where may I found the describtion rc file ?

best regards

kajot
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

can't see menu

Posted: Wed Jun 18, 2008 04:22 PM

kajot,

TestMenu.rc is located in fwppc\samples\TestMenu.rc

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion