How to get a menu handle if the menu is created by SalTrackPopupMenu() ?

forum.advanced.programming (1998-2005)
Aleksandr Shkulepov

How to get a menu handle if the menu is created by SalTrackPopupMenu() ?

Post by Aleksandr Shkulepov » 13 Dec 2004, 14:08

 Posted by:  Aleksandr Shkulepov 

Hello!

Is there a way to get a menu handle for a menu which was created by
SalTrackPopupMenu()?
We are using CTD 2.1.

Thanks,
Aleksandr Shkulepov
Galilei Software GmbH

Pawel Streich

How to get a menu handle if the menu is created by SalTrackPopupMenu() ?

Post by Pawel Streich » 13 Dec 2004, 16:03

 Posted by:  Pawel Streich 

Hi,

// declaration
Number: WM_INITMENU = 0x0116

On WM_INITMENU
Call VisMenuDelete( hWndForm, wParam, 9 )

// wParam = handle to this menu
// 9 number in menu (begin from 0 )

Regards,

Pawel

U¿ytkownik "Aleksandr Shkulepov" napisa³ w wiadomo¶ci
news:AYrODRR4EHA.2428@guptaweb...

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 1 guest