0
A
回答
0
的 “下拉列表对话框” 被称为表,可以是一个NSWindow。
的方法,让他们展示了可以修改的NSApplication中找到:beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:
一个超级简单的实现看起来是这个样子:
NSWindowController *sheet = [[NSWindowController alloc] initWithWindowNibName:@"Sheet"];
[NSApp beginSheet: sheet.window
modalForWindow: self.view.window // The window from where the sheet will appear
modalDelegate: self
didEndSelector: nil // Optional @selector(didEndSheet:returnCode:contextInfo:)
contextInfo: nil];
相关问题
- 1. 下拉对话框
- 2. 保存对话框
- 3. 自定义对话框
- 4. 自定义对话框Android
- 5. Android自定义对话框
- 6. android自定义对话框
- 7. iOS自定义对话框
- 8. 自定义onbeforeunload对话框
- 9. Wix自定义对话框
- 10. beforeunload自定义对话框
- 11. Android自定义对话框
- 12. 关于installshield的自定义对话框
- 13. 关于自定义对话框
- 14. WPF保存对话框(对于Windows 64)
- 15. 自定义微调器对话框:对话框的popupbackground设置
- 16. 取代facebook对话框中的自定义对话框在android
- 17. Android - 从另一个自定义对话框显示自定义对话框
- 18. jquery对话框和下拉框
- 19. 保存资源对话框
- 20. 打开/保存对话框
- 21. 保存对话框输入
- 22. 为IE9(vba)自动保存对话框
- 23. Android对话框,按下按钮时保持对话框打开
- 24. 如何在MFC中将对话框保存为对话框
- 25. 对话框未定义
- 26. 启动自定义对话框
- 27. FBConnect(IPHONE),自定义发布对话框
- 28. 从SettingsFragment打开自定义对话框
- 29. CSS自定义JQuery UI对话框
- 30. 对话框的Smalltalk自定义按钮