Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Enable Menu

rjar
Beginner
280 Views
Hi,
I would like to know which function to use in order to enable or disable a menu item.Should I use
dummyl=EnableMenuItem(ghchildMenu,3,MF_DISABLED)
or
SendMessage( GetDlgItem( hDlg, IDC_REALTIME_PRIORITY_CLASS), BM_SETCHECK, 1, 0);
If I use sendmessage what are parameters for that function to enable the menu
Also to change the text(caption) displayed in the menu what function should I use.Thanks,
-SD
0 Kudos
0 Replies
Reply