CreateMenu Only Called Once

Jun 9, 2014 at 7:38 PM
I want to be able to change the context menu each time a new file is selected but CreateMenu is only being called once for the first time I select a file. Is there any way to force CreateMenu to be called after every CanShowMenu call? Is there some function I can call from CanShowMenu to destroy any previously created context menu?
Jun 10, 2014 at 8:41 PM
Never mind, I got it working :)
Marked as answer by gairs on 6/10/2014 at 1:41 PM
May 18, 2015 at 6:07 PM
gairs wrote:
Never mind, I got it working :)
What was the solution?
May 18, 2015 at 6:18 PM
I modified the code to behave the way I wanted.