I plan to create a visual studio add-on to test the UI-related problems of the C ++ visual project. The following will require a project:
- In my project, some accelerator keys are reserved for some menus of type βOβ reserved for an open file, and βSβ reserved for saving a project. Similarly, 15 keywords are reserved by the rest of the project. I cannot use these 15 accelerator keys in the Visual C ++ dialog box.
Requirement: I want to create a Microsoft add-in to say, "Check Accelerator Key." This add-on will provide me one menu in visual studio Environment. When I click on the menu, I want to take each control from the dialog and check whether the accelerator key belongs to the reserved 15 keys or not. If any key of the control accelerator belongs to 15 reserved keys, then I will ask the developer to change the accelerator key with an error.
This functionality will be similar to "Check Mnemonics", present in the visual studio, but with a different purpose.
- Alignment in the dialog box: In the C ++ visual project, we constantly face the problem that the controls in the dialog box should be aligned with each other, i.e. the top control in the dialog box should be on the same line with the last control vertically, and the most the right control over the dialogue should be on the same line as the left-most horizontal control.
I want to check the alignment of each control.
Please provide me with any instructions where I can start or indicate a code, an ETC document.
Thank you for reading.!
source share