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 ??
Menu Pop
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Menu Pop
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()
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()