- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page