我爱Aspx >> Asp.Net >> 在系统菜单中添加自定义菜单项我的话entry point 是啥来着..忘了..入口点?不晓得了哈.反正有错就是了..
Adding the items to the menu
Adding items to the menu is now pretty simple. To add a separator, you simply pass the arguments 0xA00, 0 and null (Nothing in Visual Basic) into the AppendMenu function. To create a menu item, you pass in 0, the ID to assign to the new the menu item (e.g., 100) and a string containing the text to display for the menu item. For example:
添加项目到菜单中是很容易的.要添加一个分隔符,你简单的传递参数 0xA00,0和null(在VB中是Nothing)到AppendMenu函数.要建立一个菜单项,你传递 0,分配给新菜单项的ID,和一个包含菜单项上显示的文本的字符串...例如:
[C# .NET]
// Get handle to system menu
int systemMenu = GetSystemMenu(this.Handle.ToInt32(), 0);
// Create a separator
AppendMenu(systemMenu, 0xA00, 0, null);
// Add the about menu item
AppendMenu(systemMenu, 0, 100, "&About...");
[Visual Basic .NET]
' Get handle to system menu
Ҷƪл˵?
利用SOAP(Webservice)上传文件[05-20]
利用ASP.NET实现域名查询[05-20]
网页防刷新重复提交、防后退解决..[05-20]
IE经典故障大全[05-20]
用ASP的方法动态写出JavaScript的..[05-20]
JavaScript 更改网页中字体大小,..[05-20]
Javascript里的类构造[05-20]
用 JavaScript 操作字符串[05-20]
JavaScript中this关键字使用方法..[05-20]
[例程]使用VBScript 中的类组织开..[05-20]