找回密码
 加入
搜索
楼主: lanfengc

[原创] [FengziSoft]庆祝论坛重开, 开源一套人事管理软件

 火... [复制链接]
发表于 2013-1-27 10:57:16 | 显示全部楼层
好东西  学习中,谢谢楼主
发表于 2013-2-21 00:35:28 | 显示全部楼层
我#NoTrayIcon

Local $Gif = @ScriptDir & '\MMqq.gif'

;MM图片文件过大,不上传了,下面这行可直接下载,不保证链接一直有效。下载完可删除下载这段。
If Not FileExists($Gif) Then
        Tooltip('正在网上拉MM,请稍候…')
        Local $Size = InetGet('http://m3.img.libdd.com/farm4/97/1E1EC4CD274C2ABFCF23D65E8397F161_275_450.GIF', $Gif, 1)
        Tooltip('')
        If $Size <> 2095058 Then Exit MsgBox(48, $Size & ':(', 'MM跟丢了…')
EndIf

HotKeySet('{esc}', '_Exit')

Local $Gui = GUICreate('无边框Gif动画界面,可拖动及右键菜单例子 By afan', 265, 430, -1, -1, 0x80000000, 0x00000008)
        ;$WS_POPUP = 0x80000000 $WS_EX_TOPMOST = 0x00000008
Local $iLb = GUICtrlCreateLabel('', 0, 0, 265, 430, -1, 0x00100000)                ;$GUI_WS_EX_PARENTDRAG = 0x00100000
Local $oIE = ObjCreate('Shell.Explorer.2')
GUICtrlCreateObj($oIE, -15, -20, 300, 490)
$oIE.navigate($Gif)
GUISetState()

Local $DummyMenu, $ContextMenu, $hMenu, $ExitMenuItem, $CurInfo
$DummyMenu = GUICtrlCreateDummy()
$ContextMenu = GUICtrlCreateContextMenu($DummyMenu)
$hMenu = GUICtrlGetHandle(-1)
$ExitMenuItem = GUICtrlCreateMenuItem('退出', $ContextMenu)

While 1
        $CurInfo = GUIGetCursorInfo($Gui)
        If Not @Error And ($CurInfo[3] = 1 And $CurInfo[4] = $iLb) Then _ShowMenu($Gui, $hMenu)
        Switch GUIGetMsg()
                Case -3, $ExitMenuItem
                        _Exit()
        EndSwitch
WEnd

Func _ShowMenu($hWnd, $hMenu)
        Local $arPos = MouseGetPos()
        Local $x = $arPos[0]
        Local $y = $arPos[1]
        DllCall('user32.dll', 'int', 'TrackPopupMenuEx', 'hwnd', $hMenu, 'int', 0, 'int', $x, 'int', $y, 'hwnd', $hWnd, 'ptr', 0)
EndFunc   ;==>_ShowMenu

Func _Exit()
        Exit
EndFunc   ;==>_Exit
发表于 2013-2-22 11:54:45 | 显示全部楼层
看看
学习
发表于 2013-3-5 13:52:17 | 显示全部楼层
求源码!!!!!!!!!!!!!!!!
发表于 2013-3-5 21:27:03 | 显示全部楼层
这个要支持了
发表于 2013-3-15 09:06:15 | 显示全部楼层
看看啊啊啊啊
发表于 2013-3-15 21:53:56 | 显示全部楼层
感觉还行,学习学习。
发表于 2013-3-16 02:26:27 | 显示全部楼层
MDB数据库?    我觉得就这点信息Excel表格记录就足够用呀。。。
发表于 2013-3-20 11:53:44 | 显示全部楼层
看起来非常不错啊
发表于 2013-3-21 10:10:13 | 显示全部楼层
好东西啊,,,,,,,,
发表于 2013-3-25 17:29:54 | 显示全部楼层
高手不得不让人佩服啊。
发表于 2013-4-9 11:25:32 | 显示全部楼层
很好,很强大的说。
发表于 2013-4-14 02:47:23 | 显示全部楼层
发表于 2013-5-6 23:03:31 | 显示全部楼层
学习学习!!!!!!
发表于 2013-5-7 21:20:37 | 显示全部楼层
...我就先看看 说不定需要 人做东西了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-18 14:14 , Processed in 0.078536 second(s), 16 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表