If you add the menu as a child of the label itself, then the menu might not show up at all because the label will measure the text that it holds and create a dimension that fits the text only.
如果您将菜单添加为标签的子元素,那么菜单根本就不会显示,因为标签将仅度量它所包含的文本,然后创建一个符合文本的大小。
With young children pick an appropriate restaurant where the service is prompt rather than leisurely and where something the child will enjoy is on the menu.
你应该选择一家合适的餐厅,那儿的服务应是迅捷而非懒散的,并且孩子能在这里找到爱吃的东西。
For example, if you add the menu as a child of the label's parent, then Flex would place the control vertically beneath that point because that is VBox's default behavior.
例如,如果您将菜单添加为标签的父元素的子元素,那么Flex就将控件垂直放置在该点的下面,因为这是VBox的默认行为。
For example, study how the About_ menu item works in both of these functions (buildbuf and child), and you'll see how easy it is to add new functionality to the tiny cloud.
例如,了解About _菜单项如何在这些功能(buildbuf和child)中工作,您将看到向微型云添加新功能是多么简单。
You cannot add such a menu as the child of anything related to the label showing the File option.
您不能将这样的菜单添加为显示File选项的标签的子元素。
The framework calls this member function when the user selects an item from a menu, when a child control sends a notification message, or when an accelerator keystroke is translated.
当用户从菜单中选择了一项,或者子控件发出一个通知消息,或者转换了一个加速键的击键事件,框架就调用这个成员函数。
Each child frame of the main frame can have a different menu bar associated to it.
每个主框架子框架可以有不同的菜单栏息息相关。
Identifies a menu or a child-window identifier. The meaning depends on the style of the window.
标识了菜单或子窗口的标识符。其含义依赖于窗口的风格。
When a menu item is selected to display an MDI child window list, the list is displayed as a submenu of the menu item.
当选择菜单项以显示mdi子窗口列表时,该列表显示为菜单项的子菜单。
Each child frame of the main frame can have a different menu bar associated to it.
主框架中的每一个子框架都可以有一个不同的菜单栏与之关联。
The MFC classes provide enough functionalities for changing the main frame menu bar accordingly to the current active child frame.
为了依照当前活动子框架而改变主框架菜单栏,MFC类提供了充足的函数功能。
As a child my family's menu consisted of two choices: take it, or leave it.
Buddy Hackett我小时候,家里的菜单就两个选择:吃或者不吃。
If there are more than nine child Windows displayed, a "more Windows..." menu item is displayed at the end of the window list.
如果显示的子视窗超过九个,视窗清单的尾端会显示[其他视窗…]功能表项目。
The procedure below illustrates a copy procedure that can be called from a child form menu, a menu on the MDI form, or a toolbar button.
下列程序说明可从子表单功能表、MDI表单中的功能表或工具列按钮呼叫的复制程序。
The procedure below illustrates a copy procedure that can be called from a child form menu, a menu on the MDI form, or a toolbar button.
下列程序说明可从子表单功能表、MDI表单中的功能表或工具列按钮呼叫的复制程序。
应用推荐