易语言绘制桌面歌词源码
系统结构:歌词窗口_初始化,歌词窗口_消息循环,歌词窗口_消息处理,CallPrevWndProc,歌词窗口_鼠标消息,OnClose,OnQueryEndSession,OnDestroy,OnGetMinMaxInfo,OnMoving,CallWindowProcEx,ModifyStyle,ModifyExStyle,GetClassNameEx,GetWindowTextEx,RGB到ARGB,CRect,CRectF,GetClientRectEx,GetWindowRectEx,InvalidateChild,InvalidateParent,LOWORD,HIWORD,彗星取比例尺寸,取图标句柄,消息处理,取图像帧数,取图像各帧延时,载入内存图片,创建纯色画刷,GDIPlus_创建字体,A2W,Gdiplus_初始化,Create32Bitmap,Gdiplus_画九宫图,CreateFontEx,UpdateLayered,GetMax,创建,创建自句柄,销毁,初始化,置字体,置背景,置文字阴影,置文字颜色,置高亮文字颜色,显示,隐藏,移动,取宽度,取高度,取顶边,取左边,取窗口句柄,是否已创建,总在最前,随意移动,禁止关闭,更新歌词,重画,绘制背景,绘制歌词,创建渐变画刷,事件_右键按下,事件_右键放开,CallWindowProc,DeleteDC,DeleteObject,GetClientRect,GetDC,GetProp,GetWindowDC,GetWindowLong,GetWindowRect,GetWindowText,GetWindowTextLength,ReleaseDC,SetProp,SetWindowLong,SendMessage,IsWindow,ValidateRect,InvalidateRect,InvalidateRect2,BeginPaint,EndPaint,SetWindowPos,GetParent,ClientToScreen,ScreenToClient,GetWindow,SetWindowText,TrackMouseEvent,GetStockObject,CreateWindowEx,SendMessageA_TOOLINFO,CreateCompatibleDC,CreateCompatibleBitmap,BitBlt,SelectObject,GetDCEx,DefWindowProc,RtlMoveMemory_NMHDR,写到内存_整数,lstrcpyn_int,CreateDIBSection,UpdateLayeredWindow,RemoveProp,RedrawWindow,GetClassName,SetBkMode,CreatePen,FillRect,FrameRect,CreateBrushIndirect,CreateSolidBrush,RtlMoveMemory_NCCALCSIZE_PARAMS,SetTextColor,OffsetRgn,OffsetRect,ExcludeClipRect,SelectClipRgn,GdipDrawImageRectRect_空,ShowCaret,CreateCaret,GetCaretPos,KillTimer,SetTimer,GdipSetImageAttributesColorMatrix2,PeekMessage,DispatchMessage,TranslateMessage,RegisterClassEx,LocalSize_WNDCLASSEX,GetModuleHandle,LoadCursor,TerminateThread,CloseHandle,CreateThread,GetSystemMetrics,SystemParametersInfo,ReleaseCapture,PostMessage,CreateRoundRectRgn,SetWindowRgn,SetStretchBltMode,SetBrushOrgEx,LoadIcon,LoadIconByStr,DrawIconEx,IsZoomed,PtInRect,CopyMemory_IconDirEntry,CreateIconFromResource,GetPixel,CopyMemory_MINMAXINFO,CopyMemory_MINMAXINFO2,MoveWindow,ShowWindow,SetParent,CallWindowProc_Bin,GetSystemMenu,GetMenuState,CopyMemory_Rect,CopyMemory_Rect2,SHGetFileInfo,CreateStreamOnHGlobal,GdipLoadImageFromStream,GdipLoadImageFromFile,GlobalFree,CLSIDFromString,GdiplusStartup,GdipCreatePen1,GdipCreateStringFormat,GdipStringFormatGetGenericDefault,GdipStringFormatGetGenericTypographic,GdipDeleteStringFormat,GdipCloneStringFormat,GdipSetStringFormatFlags,GdipGetStringFormatFlags,GdipSetStringFormatAlign,GdipGetStringFormatAlign,GdipSetStringFormatLineAlign,GdipGetStringFormatLineAlign,GdipSetStringFormatTrimming,GdipGetStringFormatTrimming,GdipSetStringFormatHotkeyPrefix,GdipGetStringFormatHotkeyPrefix,GdipSetStringFormatTabStops,GdipGetStringFormatTabStops,GdipGetStringFormatTabStopCount,GdipSetStringFormatDigitSubstitution,GdipGetStringFormatDigitSubstitution,GdipGetStringFormatMeasurableCharacterRangeCount,GdipSetStringFormatMeasurableCharacterRanges,GdipImageGetFrameDimensionsCount,GdipImageGetFrameDimensionsList,GdipImageGetFrameCount,GdipImageSelectActiveFrame,GdipGetPropertyItemSize,GdipGetPropertyItem,GdipGetPropertySize,GlobalAlloc,GlobalLock,GlobalUnlock,GdipGetImageWidth,GdipGetImageHeight,GdipDisposeImage,GdipDeleteBrush,GdipCreateSolidFill,GdipCreateFromHDC,GdipFillRectangle,GdipCreateLineBrush,GdipDrawRectangle,GdipDeleteGraphics,GdipDrawString,GdipCreateFontFamilyFromName,GdipCreateFont,GdipCloneFont,GdipDeleteFontFamily,GdipDrawImageRect,MultiByteToWideChar,IsWindowEnabled,IsWindowVisible,StretchBlt,lstrcpyn,CreateDIBitmap2,TransparentBlt,DrawText,GetSysColor,SetCursor,GetMessage,UpdateWindow,GdipGetImageDimension,DestroyWindow,GdipDeleteFont,CreateFont,GdipCreatePath,GdipGetFontStyle,GdipGetFamily,GdipAddPathString,GdipGetPathWorldBounds,GdipDeletePath,GdipGetFontSize,lstrlenW,GdipMeasureString,GdipSetSmoothingMode,GdipSetTextRenderingHint,GdipDeletePen,GdipFillPath,GdipDrawPath,GdipCreateRegionRect,GdipDeleteRegion,GdipSetClipRegion,GetProcAddress,
======核心功能程序集
| |
| |------ _启动子程序
| |
| |------ _临时子程序
| |
| |------ 歌词窗口_初始化
| |
| |------ 歌词窗口_消息循环
| |
| |------ 歌词窗口_消息处理
| |
| |------ CallPrevWndProc
| |
| |------ 歌词窗口_鼠标消息
| |
| |------ OnClose
| |
| |------ OnQueryEndSession
| |
| |------ OnDestroy
| |
| |------ OnGetMinMaxInfo
| |
| |------ OnMoving
| |
| |
======辅助功能程序集
| |
| |------ CallWindowProcEx
| |
| |------ ModifyStyle
| |
| |------ ModifyExStyle
| |
| |------ GetClassNameEx
| |
| |------ GetWindowTextEx
| |
| |------ RGB到ARGB
| |
| |------ CRect
| |
| |------ CRectF
| |
| |------ GetClientRectEx
| |
| |------ GetWindowRectEx
| |
| |------ InvalidateChild
| |
| |------ InvalidateParent
| |
| |------ LOWORD
| |
| |------ HIWORD
| |
| |------ 彗星取比例尺寸
| |
| |------ 取图标句柄
| |
| |------ 消息处理
| |
| |------ 取图像帧数
| |
| |------ 取图像各帧延时
| |
| |------ 载入内存图片
| |
| |------ 创建纯色画刷
| |
| |------ GDIPlus_创建字体
| |
| |------ A2W
| |
| |------ Gdiplus_初始化
| |
| |------ Create32Bitmap
| |
| |------ Gdiplus_画九宫图
| |
| |------ CreateFontEx
| |
| |------ UpdateLayered
| |
| |------ GetMax
| |
| |
======彗星歌词窗口
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 创建
| |
| |------ 创建自句柄
| |
| |------ 销毁
| |
| |------ 初始化
| |
| |------ 置字体
| |
| |------ 置背景
| |
| |------ 置文字阴影
| |
| |------ 置文字颜色
| |
| |------ 置高亮文字颜色
| |
| |------ 显示
| |
| |------ 隐藏
| |
| |------ 移动
| |
| |------ 取宽度
| |
| |------ 取高度
| |
| |------ 取顶边
| |
| |------ 取左边
| |
| |------ 取窗口句柄
| |
| |------ 是否已创建
| |
| |------ 总在最前
| |
| |------ 随意移动
| |
| |------ 禁止关闭
| |
| |------ 更新歌词
| |
| |------ 重画
| |
| |------ 绘制背景
| |
| |------ 绘制歌词
| |
| |------ 创建渐变画刷
| |
| |------ 事件_右键按下
| |
| |------ 事件_右键放开
| |
| |
======调用的Dll
| |
| |---[dll]------ CallWindowProc
| |
| |---[dll]------ DeleteDC
| |
| |---[dll]------ DeleteObject
| |
| |---[dll]------ GetClientRect
| |
| |---[dll]------ GetDC
| |
| |---[dll]------ GetProp
| |
| |---[dll]------ GetWindowDC
| |
| |---[dll]------ GetWindowLong
| |
| |---[dll]------ GetWindowRect
| |
| |---[dll]------ GetWindowText
| |
| |---[dll]------ GetWindowTextLength
| |
| |---[dll]------ ReleaseDC
| |
| |---[dll]------ SetProp
| |
| |---[dll]------ SetWindowLong
| |
| |---[dll]------ SendMessage
| |
| |---[dll]------ IsWindow
| |
| |---[dll]------ ValidateRect
| |
| |---[dll]------ InvalidateRect
| |
| |---[dll]------ InvalidateRect2
| |
| |---[dll]------ BeginPaint
| |
| |---[dll]------ EndPaint
| |
| |---[dll]------ SetWindowPos
| |
| |---[dll]------ GetParent
| |
| |---[dll]------ ClientToScreen
| |
| |---[dll]------ ScreenToClient
| |
| |---[dll]------ GetWindow
| |
| |---[dll]------ SetWindowText
| |
| |---[dll]------ TrackMouseEvent
| |
| |---[dll]------ GetStockObject
| |
| |---[dll]------ CreateWindowEx
| |
| |---[dll]------ SendMessageA_TOOLINFO
| |
| |---[dll]------ CreateCompatibleDC
| |
| |---[dll]------ CreateCompatibleBitmap
| |
| |---[dll]------ BitBlt
| |
| |---[dll]------ SelectObject
| |
| |---[dll]------ GetDCEx
| |
| |---[dll]------ DefWindowProc
| |
| |---[dll]------ RtlMoveMemory_NMHDR
| |
| |---[dll]------ 写到内存_整数
| |
| |---[dll]------ lstrcpyn_int
| |
| |---[dll]------ CreateDIBSection
| |
| |---[dll]------ UpdateLayeredWindow
| |
| |---[dll]------ RemoveProp
| |
| |---[dll]------ RedrawWindow
| |
| |---[dll]------ GetClassName
| |
| |---[dll]------ SetBkMode
| |
| |---[dll]------ CreatePen
| |
| |---[dll]------ FillRect
| |
| |---[dll]------ FrameRect
| |
| |---[dll]------ CreateBrushIndirect
| |
| |---[dll]------ CreateSolidBrush
| |
| |---[dll]------ RtlMoveMemory_NCCALCSIZE_PARAMS
| |
| |---[dll]------ SetTextColor
| |
| |---[dll]------ OffsetRgn
| |
| |---[dll]------ OffsetRect
| |
| |---[dll]------ ExcludeClipRect
| |
| |---[dll]------ SelectClipRgn
| |
| |---[dll]------ GdipDrawImageRectRect_空
| |
| |---[dll]------ ShowCaret
| |
| |---[dll]------ CreateCaret
| |
| |---[dll]------ GetCaretPos
| |
| |---[dll]------ KillTimer
| |
| |---[dll]------ SetTimer
| |
| |---[dll]------ GdipSetImageAttributesColorMatrix2
| |
| |---[dll]------ PeekMessage
| |
| |---[dll]------ DispatchMessage
| |
| |---[dll]------ TranslateMessage
| |
| |---[dll]------ RegisterClassEx
| |
| |---[dll]------ LocalSize_WNDCLASSEX
| |
| |---[dll]------ GetModuleHandle
| |
| |---[dll]------ LoadCursor
| |
| |---[dll]------ TerminateThread
| |
| |---[dll]------ CloseHandle
| |
| |---[dll]------ CreateThread
| |
| |---[dll]------ GetSystemMetrics
| |
| |---[dll]------ SystemParametersInfo
| |
| |---[dll]------ ReleaseCapture
| |
| |---[dll]------ PostMessage
| |
| |---[dll]------ CreateRoundRectRgn
| |
| |---[dll]------ SetWindowRgn
| |
| |---[dll]------ SetStretchBltMode
| |
| |---[dll]------ SetBrushOrgEx
| |
| |---[dll]------ LoadIcon
| |
| |---[dll]------ LoadIconByStr
| |
| |---[dll]------ DrawIconEx
| |
| |---[dll]------ IsZoomed
| |
| |---[dll]------ PtInRect
| |
| |---[dll]------ CopyMemory_IconDirEntry
| |
| |---[dll]------ CreateIconFromResource
| |
| |---[dll]------ GetPixel
| |
| |---[dll]------ CopyMemory_MINMAXINFO
| |
| |---[dll]------ CopyMemory_MINMAXINFO2
| |
| |---[dll]------ MoveWindow
| |
| |---[dll]------ ShowWindow
| |
| |---[dll]------ SetParent
| |
| |---[dll]------ CallWindowProc_Bin
| |
| |---[dll]------ GetSystemMenu
| |
| |---[dll]------ GetMenuState
| |
| |---[dll]------ CopyMemory_Rect
| |
| |---[dll]------ CopyMemory_Rect2
| |
| |---[dll]------ SHGetFileInfo
| |
| |---[dll]------ CreateStreamOnHGlobal
| |
| |---[dll]------ GdipLoadImageFromStream
| |
| |---[dll]------ GdipLoadImageFromFile
| |
| |---[dll]------ GlobalFree
| |
| |---[dll]------ CLSIDFromString
| |
| |---[dll]------ GdiplusStartup
| |
| |---[dll]------ GdipCreatePen1
| |
| |---[dll]------ GdipCreateStringFormat
| |
| |---[dll]------ GdipStringFormatGetGenericDefault
| |
| |---[dll]------ GdipStringFormatGetGenericTypographic
| |
| |---[dll]------ GdipDeleteStringFormat
| |
| |---[dll]------ GdipCloneStringFormat
| |
| |---[dll]------ GdipSetStringFormatFlags
| |
| |---[dll]------ GdipGetStringFormatFlags
| |
| |---[dll]------ GdipSetStringFormatAlign
| |
| |---[dll]------ GdipGetStringFormatAlign
| |
| |---[dll]------ GdipSetStringFormatLineAlign
| |
| |---[dll]------ GdipGetStringFormatLineAlign
| |
| |---[dll]------ GdipSetStringFormatTrimming
| |
| |---[dll]------ GdipGetStringFormatTrimming
| |
| |---[dll]------ GdipSetStringFormatHotkeyPrefix
| |
| |---[dll]------ GdipGetStringFormatHotkeyPrefix
| |
| |---[dll]------ GdipSetStringFormatTabStops
| |
| |---[dll]------ GdipGetStringFormatTabStops
| |
| |---[dll]------ GdipGetStringFormatTabStopCount
| |
| |---[dll]------ GdipSetStringFormatDigitSubstitution
| |
| |---[dll]------ GdipGetStringFormatDigitSubstitution
| |
| |---[dll]------ GdipGetStringFormatMeasurableCharacterRangeCount
| |
| |---[dll]------ GdipSetStringFormatMeasurableCharacterRanges
| |
| |---[dll]------ GdipImageGetFrameDimensionsCount
| |
| |---[dll]------ GdipImageGetFrameDimensionsList
| |
| |---[dll]------ GdipImageGetFrameCount
| |
| |---[dll]------ GdipImageSelectActiveFrame
| |
| |---[dll]------ GdipGetPropertyItemSize
| |
| |---[dll]------ GdipGetPropertyItem
| |
| |---[dll]------ GdipGetPropertySize
| |
| |---[dll]------ GlobalAlloc
| |
| |---[dll]------ GlobalLock
| |
| |---[dll]------ GlobalUnlock
| |
| |---[dll]------ GdipGetImageWidth
| |
| |---[dll]------ GdipGetImageHeight
| |
| |---[dll]------ GdipDisposeImage
| |
| |---[dll]------ GdipDeleteBrush
| |
| |---[dll]------ GdipCreateSolidFill
| |
| |---[dll]------ GdipCreateFromHDC
| |
| |---[dll]------ GdipFillRectangle
| |
| |---[dll]------ GdipCreateLineBrush
| |
| |---[dll]------ GdipDrawRectangle
| |
| |---[dll]------ GdipDeleteGraphics
| |
| |---[dll]------ GdipDrawString
| |
| |---[dll]------ GdipCreateFontFamilyFromName
| |
| |---[dll]------ GdipCreateFont
| |
| |---[dll]------ GdipCloneFont
| |
| |---[dll]------ GdipDeleteFontFamily
| |
| |---[dll]------ GdipDrawImageRect
| |
| |---[dll]------ MultiByteToWideChar
| |
| |---[dll]------ IsWindowEnabled
| |
| |---[dll]------ IsWindowVisible
| |
| |---[dll]------ StretchBlt
| |
| |---[dll]------ lstrcpyn
| |
| |---[dll]------ CreateDIBitmap2
| |
| |---[dll]------ TransparentBlt
| |
| |---[dll]------ DrawText
| |
| |---[dll]------ GetSysColor
| |
| |---[dll]------ SetCursor
| |
| |---[dll]------ GetMessage
| |
| |---[dll]------ UpdateWindow
| |
| |---[dll]------ GdipGetImageDimension
| |
| |---[dll]------ DestroyWindow
| |
| |---[dll]------ GdipDeleteFont
| |
| |---[dll]------ CreateFont
| |
| |---[dll]------ GdipCreatePath
| |
| |---[dll]------ GdipGetFontStyle
| |
| |---[dll]------ GdipGetFamily
| |
| |---[dll]------ GdipAddPathString
| |
| |---[dll]------ GdipGetPathWorldBounds
| |
| |---[dll]------ GdipDeletePath
| |
| |---[dll]------ GdipGetFontSize
| |
| |---[dll]------ lstrlenW
| |
| |---[dll]------ GdipMeasureString
| |
| |---[dll]------ GdipSetSmoothingMode
| |
| |---[dll]------ GdipSetTextRenderingHint
| |
| |---[dll]------ GdipDeletePen
| |
| |---[dll]------ GdipFillPath
| |
| |---[dll]------ GdipDrawPath
| |
| |---[dll]------ GdipCreateRegionRect
| |
| |---[dll]------ GdipDeleteRegion
| |
| |---[dll]------ GdipSetClipRegion
| |
| |---[dll]------ GetProcAddress
======窗口程序集1
| |
| |------ __启动窗口_创建完毕
| |
| |------ _按钮1_被单击
| |
| |------ _选择框1_被单击
| |
| |------ _时钟1_周期事件
| |
| |------ _按钮2_被单击
| |
| |------ _按钮3_被单击
调用的DLL命令:
.支持库 ogrelib
.DLL命令 CallWindowProc, 整数型, "user32", "CallWindowProcA", , 将消息传答窗口函数
.参数 lpPrevWndFunc, 整数型
.参数 hwnd, 整数型
.参数 msg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 DeleteDC, 整数型, "gdi32", "DeleteDC", , 删除专用设备场景或信息场景,释放所有相关窗口资源。不要将它用于GetDC函数取回的设备场景 执行成功则为非零,失败则为零
.参数 hdc, 整数型, , 将要删除的设备场景 在vb里使用不要将它用于由vb hdc属性获取的设备场景句柄;
.DLL命令 DeleteObject, 整数型, "gdi32", "DeleteObject", , 用这个函数删除GDI对象,比如画笔、刷子、字体、位图、区域以及调色板等等。对象使用的所有系统资源都会被释放 非零表示成功,零表示失败
.参数 hObject, 整数型, , 一个GDI对象的句柄;
.DLL命令 GetClientRect, 整数型, "user32", "GetClientRect", , 返回指定窗口客户区矩形的大小 非零表示成功,零表示失败。会设置GetLastError
.参数 hwnd, 整数型, , 欲计算大小的目标窗口
.参数 lpRect, RECT, , RECT,指定一个矩形,用客户区域的大小载入(以像素为单位);
.DLL命令 GetDC, 整数型, "user32", "GetDC", , 获取指定窗口的设备场景 指定窗口的设备场景句柄,出错则为0
.参数 hwnd, 整数型, , 将获取其设备场景的窗口的句柄。若为0,则要获取整个屏幕的DC;
.DLL命令 GetProp, 整数型, "user32", "GetPropA", , 从窗口属性表列中返回数据句柄
.参数 hwnd, 整数型
.参数 lpString, 文本型
.DLL命令 GetWindowDC, 整数型, "user32", "GetWindowDC", , 获取整个窗口(包括边框、滚动条、标题栏、菜单等)的设备场景 执行成功为窗口设备场景,失败则为0
.参数 hwnd, 整数型, , 将获取其设备场景的窗口;
.DLL命令 GetWindowLong, 整数型, "user32", "GetWindowLongA", , 从指定窗口的结构中取得信息 由nIndex决定。零表示出错。会设置GetLastError
.参数 hwnd, 整数型, , 欲为其获取信息的窗口的句柄
.参数 nIndex, 整数型, , 欲取回的信息,可以是下述任何一个常数:;GWL_EXSTYLE:扩展窗口样式;GWL_STYLE:窗口样式;GWL_WNDPROC:该窗口的窗口函数的地址;GWL_HINSTANCE:拥有窗口的实例的句柄;GWL_HWNDPARENT:该窗口之父的句柄。不要用SetWindowWord来改变这个值;GWL_ID:对话框中一个子窗口的标识符;GWL_USERDATA:含义由应用程序规定;DWL_DLGPROC:这个窗口的对话框函数地址;DWL_MSGRESULT:在对话框函数中处理的一条消息返回的值;DWL_USER:含义由应用程序规定;
.DLL命令 GetWindowRect, 整数型, "user32", "GetWindowRect", , 获得整个窗口的范围矩形,窗口的边框、标题栏、滚动条及菜单等都在这个矩形内 非零表示成功,零表示失败。会设置GetLastError
.参数 hwnd, 整数型, , 想获得范围矩形的那个窗口的句柄
.参数 lpRect, RECT, , RECT,屏幕坐标中随同窗口装载的矩形;
.DLL命令 GetWindowText, 整数型, "user32", "GetWindowTextA", , 取得一个窗体的标题(caption)文字,或者一个控件的内容(在vb里使用:使用vb窗体或控件的caption或text属性) 复制到lpString的字串长度;不包括空中止字符。会设置GetLastError
.参数 hwnd, 整数型, , 欲获取文字的那个窗口的句柄
.参数 lpString, 文本型, , 预定义的一个缓冲
易语言类似冒险岛2D横版卷轴类游戏源码,初始化,开场见面,处理物品使用,显示掉血数值,怪物刷新血,减血加血处理,创建方块,创建怪物,重叠检测子程序,处理动画,创建物品,创建物品框架...
易语言窗口特效码源码,窗口进程取句柄,进程枚举,枚举窗口,枚举窗口过程,内存自动优化,内存优化,窗口移动,取屏幕尺寸,时钟周期,窗口特效_中心扩展,窗口特效_立体旋转,取窗口尺寸,窗...
易语言用标签打造漂亮界面源码,用标签打造漂亮界面...
易语言特训小游戏源码,newGame,偏移,绘制,碰撞检测,移动,x,y...
易语言图表模块和24位色转单色位图模块源码,初始化表,画柱形,画曲线,检查,画坐标,画虚线,转化为单色,读字节文本,取十进制文本,取二进制文本,画圆饼,椭圆初始化,画饼,算角,颜色...
易语言图片播放刚哪个朋友要的源码,寻找图片文件...
易语言图片色调亮度处理源码,混合颜色...
易语言取字符非循环源码,ANSI转UNICODE,UNICODE转ANSI,取字符数,取字符左边,取字符中间,取字符右边,取字符数2,取字符数3,分解文本到数组,A字符转U,U字符转A...
易语言轮值表源码,轮值表头初始化...