can't see menu

can't see menu

Postby kajot » Sun Jun 15, 2008 8: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
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Sun Jun 15, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » 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
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Mon Jun 16, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby kajot » Wed Jun 18, 2008 3:31 pm

where may I found the describtion rc file ?
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Postby Antonio Linares » Wed Jun 18, 2008 4:22 pm

kajot,

TestMenu.rc is located in fwppc\samples\TestMenu.rc
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 56 guests