message-handler function for popup menu created at runtime
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
i have to create a popup menu at runtime, the menu's items have the same message-handler function so i can use the ON_COMMAND_RANGE(id1, id2, memberFxn) macro, but i dont know the id-range, because i retrieve it at runtime as said
-
i have to create a popup menu at runtime, the menu's items have the same message-handler function so i can use the ON_COMMAND_RANGE(id1, id2, memberFxn) macro, but i dont know the id-range, because i retrieve it at runtime as said
can you show how do you create the menu items ? May be I'll find a suggestion to solve your problem.