![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VB
文章平均质量分 70
hayesha
这个作者很懒,什么都没留下…
展开
-
VB转二进制
可以将十进制转换成二进制Public Function Bin(num) As StringDim H As StringDim s As Integer H = Hex(num) 转成十六进制Dim str, binstr As String For i = 1 To Len(H) str = Mid(H, i, 1) Select Case str原创 2009-08-10 18:23:00 · 1087 阅读 · 0 评论 -
VB图形菜单
关于窗体的APIGetMenu获得窗体中一个菜单的句柄声明:Public Declare Function GetMenu Lib "user32" Alias "GetMenu" (ByVal hwnd As Long) As Longhwnd:包含菜单的窗口的句柄GetSubMenu获得一个弹出式菜单的句柄和它位于菜单中指定位置声明:Public Declare Function GetSub原创 2009-08-10 18:39:00 · 349 阅读 · 0 评论