Menu Pop

Menu Pop

Postby KRCNET » Wed Jul 20, 2011 12:16 pm

nIdSelect := TrackPopupMenuEx( hMenu, TPM_RETURNCMD, nRow, nCol, oWnd:hWnd )

Erro : MsgStop(nIdSelect ,"nIdSelect") Retorna .T.


deveria estar retornar um valor numerico do item selecionado

Alguem sabe me dizer porque ??
Cleber Ribeiro Conde
Krc Sistemas
FWH 7.1 / xHarbour 0.99.71 / xMate/ SqlLib
KRCNET
 
Posts: 25
Joined: Wed Mar 14, 2007 1:58 pm
Location: Belo Horizonte/MG/Brasil

Re: Menu Pop

Postby Antonio Linares » Sun Sep 04, 2011 7:29 pm

Cleber,

TrackPopupMenuEx() returns a BOOL (logical) value. From Windows API:

BOOL
WINAPI
TrackPopupMenuEx(
HMENU hmenu,
UINT uFlags,
int x,
int y,
HWND hwnd,
LPTPMPARAMS lptpm);

so FWPPC returns a logical value using hb_retl()
regards, saludos

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


Return to FiveWin para Pocket PC

Who is online

Users browsing this forum: No registered users and 10 guests