//
//
//
//
//
//
//
//
//
//
软件Tags:
易语言绘制桌面歌词源码系统结构:歌词窗口_初始化,歌词窗口_消息循环,歌词窗口_消息处理,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里使用不要将它用于由vbhdc属性获取的设备场景句柄; .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,文本型,,预定义的一个缓冲
