Method for implementing menu
An implementation method and menu technology, applied in the direction of program control devices, etc., can solve the problems of complex design and maintenance, increase the difficulty of development, etc., and achieve the effect of simple and efficient maintenance and development, and improved flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0021] As a specific implementation manner to realize the purpose of the present invention, the programming design language C will be used to express its design idea below.
[0022] 1. Format definition
[0023] ⑴
[0024]
[0025]
[0026] A menu structure type is defined here. The meaning of its members from top to bottom is: the first item dwNameId represents the name number ID of the menu item or a pointer to the content of the name resource. The advantage of using this number is that we can pass This number is used to obtain the corresponding character string resource in the corresponding language environment, so that the menu can be applied in different language environments, and its definition may remain unchanged. The advantage of using the pointer to the content of the name resource is that the content displayed in the menu can be dynamically specified during the work process, which can improve the flexibility of the menu. The second item wFuncId is a number I...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 