sschultheiss
11 years agoNew Member
wButtonText returns the same name for each item (CMFCMenuBar)
Hi,
I'm going to write a test for an MDI MFC application. Here I encountered the following problem:
The wButtonText property of an CMFCMenuBar always returns the same value regardless of which index I use.
The ClickItem method also does not work. The following error occurs:
The control item '&Ansicht' not found.
Total number of items: 3.
Items: '&Datei', '&Datei', '&Datei'.
Sorry for my bad English.
Stefan
I'm going to write a test for an MDI MFC application. Here I encountered the following problem:
The wButtonText property of an CMFCMenuBar always returns the same value regardless of which index I use.
The ClickItem method also does not work. The following error occurs:
The control item '&Ansicht' not found.
Total number of items: 3.
Items: '&Datei', '&Datei', '&Datei'.
Sorry for my bad English.
Stefan