易语言DUI源码
系统结构:小化_组件事件,关闭_组件事件,正常_组件事件,选择A_组件事件,选择B_组件事件,DUI_启动循环,DUI_RGB转ARGB,DUI_发送消息,DUI_整数低位,DUI_整数高位,DUI_结构矩形,DUI_默认画笔,DUI_默认画刷,DUI_默认字体,初始环境,图标句柄,置圆角化,Ansi转Unicode,合低高数,计算比例,计算距中,计算距右,DUI_坐标碰撞,消息循环,消息过程,分配事件,初始窗口,释放窗口,终止线程,尺寸改变,绘画组件,DUI_事件组件,DUI_绘画窗口,DUI_颜色画笔,DUI_销毁画笔,DUI_绘画直线,DUI_绘画矩形,DUI_纯色画刷,DUI_销毁画刷,默认字体,DUI_名称字体,DUI_销毁字体,DUI_绘画文本,DUI_文本矩形,DUI_数据图片,DUI_文件图片,DUI_销毁图片,DUI_普通绘图,DUI_高级绘图,DUI_九宫绘图,DUI_图片宽度,DUI_图片高度,组件标识,组件索引,DUI_加入组件,DUI_删除组件,DUI_调用程序,DUI_回调地址,DUI_回调数据,分配内存,填充内存,取类方法地址,取上层函数首参,取整数型指针内容,取字节集数据_字节型,取字节集数据_整数型,取变量地址_整数型,取变量地址_短整数型,取变量地址_字节集型,创建窗口,销毁窗口,窗口句柄,窗口重画,窗口左边,窗口顶边,窗口宽度,窗口高度,窗口移动,窗口可视,窗口禁止,标题文本,窗口位置,窗口图标,窗口圆角,消息事件,绘画事件,创建组件,销毁组件,组件状态,状态指针,事件指针,消息事件,绘画事件,创建组件,销毁组件,组件移动,组件状态,状态指针,事件指针,消息事件,绘画事件,创建组件,销毁组件,组件状态,事件指针,消息事件,绘画事件,创建组件,销毁组件,选中状态,组件状态,状态指针,事件指针,消息事件,绘画事件,创建组件,消息事件,绘画事件,创建组件,消息事件,绘画事件,创建组件,销毁组件,组件状态,状态指针,事件指针,截取文本,文本长度,文本左边,文本右边,退格处理,输入类型,GetModuleHandle,LocalSize_WNDCLASSEX,LoadIcon,LoadCursor,RegisterClassEx,DefWindowProc,GetMessage,TranslateMessage,DispatchMessage,CreateWindowEx,CallWindowProc,DestroyWindow,GetWindowRect,MoveWindow,ShowWindow,UpdateWindow,IsWindowVisible,EnableWindow,SetWindowText,GetWindowTextLength,GetWindowText,IsZoomed,IsIconic,CreateRoundRectRgn,SetWindowRgn,DeleteObject,SendMessage,RtlMoveMemory_IconDirEntry,CreateIconFromResource,PostQuitMessage,SetCapture,ReleaseCapture,GdiplusStartup,GetStockObject,GdipAlloc,GetObject,GetDC,GdipCreateFontFromLogfontA,ReleaseDC,GdipFree,MultiByteToWideChar,GdipCreateFontFamilyFromName,GdipCreateFont,GdipDeleteFontFamily,GdipDeleteFont,GdipDrawString,lstrlenw,GdipMeasureString,GlobalAlloc,GlobalLock,GlobalUnlock,CreateStreamOnHGlobal,GdipLoadImageFromStream,GlobalFree,GdipLoadImageFromFile,GdipDisposeImage,GdipDrawImageRect,GdipDrawImageRectRect,GdipGetImageWidth,GdipGetImageHeight,GdipCreateSolidFill,GdipDeleteBrush,GdipCreateBitmapFromScan0,GdiplusShutdown,GdipGetImageGraphicsContext,GdipCreateFromHWND,GdipDeleteGraphics,GetProp,SetProp,GdipDrawImage,RtlMoveMemory_字节集,RtlMoveMemory_内存,VirtualAlloc,GdipGraphicsClear,GdipCreatePen1,GdipDeletePen,GdipDrawLine,GdipDrawRectangle,SetFocus,CreateCaret,SetCaretPos,ShowCaret,HideCaret,GetCaretPos,
======启动程序集
| |
| |------ _启动子程序
| |
| |------ _临时子程序
| |
| |------ 小化_组件事件
| |
| |------ 关闭_组件事件
| |
| |------ 正常_组件事件
| |
| |------ 选择A_组件事件
| |
| |------ 选择B_组件事件
| |
| |------ DUI_启动循环
| |
| |------ DUI_RGB转ARGB
| |
| |------ DUI_发送消息
| |
| |------ DUI_整数低位
| |
| |------ DUI_整数高位
| |
| |------ DUI_结构矩形
| |
| |------ DUI_默认画笔
| |
| |------ DUI_默认画刷
| |
| |------ DUI_默认字体
| |
| |
======内部程序集
| |
| |------ 初始环境
| |
| |------ 图标句柄
| |
| |------ 置圆角化
| |
| |------ Ansi转Unicode
| |
| |------ 合低高数
| |
| |------ 计算比例
| |
| |------ 计算距中
| |
| |------ 计算距右
| |
| |------ DUI_坐标碰撞
| |
| |
======窗口程序集
| |
| |------ 消息循环
| |
| |------ 消息过程
| |
| |------ 分配事件
| |
| |------ 初始窗口
| |
| |------ 释放窗口
| |
| |------ 终止线程
| |
| |------ 尺寸改变
| |
| |------ 绘画组件
| |
| |------ DUI_事件组件
| |
| |------ DUI_绘画窗口
| |
| |
======GDIP程序集
| |
| |------ DUI_颜色画笔
| |
| |------ DUI_销毁画笔
| |
| |------ DUI_绘画直线
| |
| |------ DUI_绘画矩形
| |
| |------ DUI_纯色画刷
| |
| |------ DUI_销毁画刷
| |
| |------ 默认字体
| |
| |------ DUI_名称字体
| |
| |------ DUI_销毁字体
| |
| |------ DUI_绘画文本
| |
| |------ DUI_文本矩形
| |
| |------ DUI_数据图片
| |
| |------ DUI_文件图片
| |
| |------ DUI_销毁图片
| |
| |------ DUI_普通绘图
| |
| |------ DUI_高级绘图
| |
| |------ DUI_九宫绘图
| |
| |------ DUI_图片宽度
| |
| |------ DUI_图片高度
| |
| |
======组件程序集
| |
| |------ 组件标识
| |
| |------ 组件索引
| |
| |------ DUI_加入组件
| |
| |------ DUI_删除组件
| |
| |
======调用程序集
| |
| |------ DUI_调用程序
| |
| |------ DUI_回调地址
| |
| |------ DUI_回调数据
| |
| |------ 分配内存
| |
| |------ 填充内存
| |
| |------ 取类方法地址
| |
| |------ 取上层函数首参
| |
| |------ 取整数型指针内容
| |
| |------ 取字节集数据_字节型
| |
| |------ 取字节集数据_整数型
| |
| |------ 取变量地址_整数型
| |
| |------ 取变量地址_短整数型
| |
| |------ 取变量地址_字节集型
| |
| |
======DUI_窗口
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 创建窗口
| |
| |------ 销毁窗口
| |
| |------ 窗口句柄
| |
| |------ 窗口重画
| |
| |------ 窗口左边
| |
| |------ 窗口顶边
| |
| |------ 窗口宽度
| |
| |------ 窗口高度
| |
| |------ 窗口移动
| |
| |------ 窗口可视
| |
| |------ 窗口禁止
| |
| |------ 标题文本
| |
| |------ 窗口位置
| |
| |------ 窗口图标
| |
| |------ 窗口圆角
| |
| |
======DUI_标签
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |------ 销毁组件
| |
| |------ 组件状态
| |
| |------ 状态指针
| |
| |------ 事件指针
| |
| |
======DUI_图片框
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |------ 销毁组件
| |
| |------ 组件移动
| |
| |------ 组件状态
| |
| |------ 状态指针
| |
| |------ 事件指针
| |
| |
======DUI_按钮
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |------ 销毁组件
| |
| |------ 组件状态
| |
| |------ 事件指针
| |
| |
======DUI_选择框
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |------ 销毁组件
| |
| |------ 选中状态
| |
| |------ 组件状态
| |
| |------ 状态指针
| |
| |------ 事件指针
| |
| |
======DUI_进度条
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |
======DUI_滑动条
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |
======DUI_输入框
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 消息事件
| |
| |------ 绘画事件
| |
| |------ 创建组件
| |
| |------ 销毁组件
| |
| |------ 组件状态
| |
| |------ 状态指针
| |
| |------ 事件指针
| |
| |------ 截取文本
| |
| |------ 文本长度
| |
| |------ 文本左边
| |
| |------ 文本右边
| |
| |------ 退格处理
| |
| |------ 输入类型
| |
| |
======调用的Dll
| |
| |---[dll]------ GetModuleHandle
| |
| |---[dll]------ LocalSize_WNDCLASSEX
| |
| |---[dll]------ LoadIcon
| |
| |---[dll]------ LoadCursor
| |
| |---[dll]------ RegisterClassEx
| |
| |---[dll]------ DefWindowProc
| |
| |---[dll]------ GetMessage
| |
| |---[dll]------ TranslateMessage
| |
| |---[dll]------ DispatchMessage
| |
| |---[dll]------ CreateWindowEx
| |
| |---[dll]------ CallWindowProc
| |
| |---[dll]------ DestroyWindow
| |
| |---[dll]------ GetWindowRect
| |
| |---[dll]------ MoveWindow
| |
| |---[dll]------ ShowWindow
| |
| |---[dll]------ UpdateWindow
| |
| |---[dll]------ IsWindowVisible
| |
| |---[dll]------ EnableWindow
| |
| |---[dll]------ SetWindowText
| |
| |---[dll]------ GetWindowTextLength
| |
| |---[dll]------ GetWindowText
| |
| |---[dll]------ IsZoomed
| |
| |---[dll]------ IsIconic
| |
| |---[dll]------ CreateRoundRectRgn
| |
| |---[dll]------ SetWindowRgn
| |
| |---[dll]------ DeleteObject
| |
| |---[dll]------ SendMessage
| |
| |---[dll]------ RtlMoveMemory_IconDirEntry
| |
| |---[dll]------ CreateIconFromResource
| |
| |---[dll]------ PostQuitMessage
| |
| |---[dll]------ SetCapture
| |
| |---[dll]------ ReleaseCapture
| |
| |---[dll]------ GdiplusStartup
| |
| |---[dll]------ GetStockObject
| |
| |---[dll]------ GdipAlloc
| |
| |---[dll]------ GetObject
| |
| |---[dll]------ GetDC
| |
| |---[dll]------ GdipCreateFontFromLogfontA
| |
| |---[dll]------ ReleaseDC
| |
| |---[dll]------ GdipFree
| |
| |---[dll]------ MultiByteToWideChar
| |
| |---[dll]------ GdipCreateFontFamilyFromName
| |
| |---[dll]------ GdipCreateFont
| |
| |---[dll]------ GdipDeleteFontFamily
| |
| |---[dll]------ GdipDeleteFont
| |
| |---[dll]------ GdipDrawString
| |
| |---[dll]------ lstrlenw
| |
| |---[dll]------ GdipMeasureString
| |
| |---[dll]------ GlobalAlloc
| |
| |---[dll]------ GlobalLock
| |
| |---[dll]------ GlobalUnlock
| |
| |---[dll]------ CreateStreamOnHGlobal
| |
| |---[dll]------ GdipLoadImageFromStream
| |
| |---[dll]------ GlobalFree
| |
| |---[dll]------ GdipLoadImageFromFile
| |
| |---[dll]------ GdipDisposeImage
| |
| |---[dll]------ GdipDrawImageRect
| |
| |---[dll]------ GdipDrawImageRectRect
| |
| |---[dll]------ GdipGetImageWidth
| |
| |---[dll]------ GdipGetImageHeight
| |
| |---[dll]------ GdipCreateSolidFill
| |
| |---[dll]------ GdipDeleteBrush
| |
| |---[dll]------ GdipCreateBitmapFromScan0
| |
| |---[dll]------ GdiplusShutdown
| |
| |---[dll]------ GdipGetImageGraphicsContext
| |
| |---[dll]------ GdipCreateFromHWND
| |
| |---[dll]------ GdipDeleteGraphics
| |
| |---[dll]------ GetProp
| |
| |---[dll]------ SetProp
| |
| |---[dll]------ GdipDrawImage
| |
| |---[dll]------ RtlMoveMemory_字节集
| |
| |---[dll]------ RtlMoveMemory_内存
| |
| |---[dll]------ VirtualAlloc
| |
| |---[dll]------ GdipGraphicsClear
| |
| |---[dll]------ GdipCreatePen1
| |
| |---[dll]------ GdipDeletePen
| |
| |---[dll]------ GdipDrawLine
| |
| |---[dll]------ GdipDrawRectangle
| |
| |---[dll]------ SetFocus
| |
| |---[dll]------ CreateCaret
| |
| |---[dll]------ SetCaretPos
| |
| |---[dll]------ ShowCaret
| |
| |---[dll]------ HideCaret
| |
| |---[dll]------ GetCaretPos
调用的DLL命令:
.DLL命令 GetModuleHandle, 整数型, "kernel32.dll", "GetModuleHandleA"
.参数 lpModuleName, 整数型
.DLL命令 LocalSize_WNDCLASSEX, 整数型, "kernel32.dll", "LocalSize"
.参数 hMem, WNDCLASSEX, 传址
.DLL命令 LoadIcon, 整数型, "user32.dll", "LoadIconA"
.参数 hInstance, 整数型
.参数 lpIconName, 整数型
.DLL命令 LoadCursor, 整数型, "user32.dll", "LoadCursorA"
.参数 hInstance, 整数型
.参数 lpCursorName, 整数型
.DLL命令 RegisterClassEx, 整数型, "user32.dll", "RegisterClassExA", ,
.参数 pcWndClassEx, WNDCLASSEX
.DLL命令 DefWindowProc, 整数型, "user32.dll", "DefWindowProcA", ,
.参数 hwnd, 整数型
.参数 wMsg, 整数型
.参数 wParam, 整数型
.参数 lParam, 整数型
.DLL命令 GetMessage, 整数型, "user32.dll", "GetMessageA"
.参数 lpMsg, MSG
.参数 hwnd, 整数型
.参数 wMsgFilterMin, 整数型
.参数 wMsgFilterMax, 整数型
.DLL命令 TranslateMessage, 整数型, "user32.dll", "TranslateMessage"
.参数 lpMsg, MSG
.DLL命令 DispatchMessage, 整数型, "user32.dll", "DispatchMessageA"
.参数 lpMsg, MSG
.DLL命令 CreateWindowEx, 整数型, "user32.dll", "CreateWindowExA"
.参数 dwExStyle, 整数型
.参数 lpClassName, 文本型
.参数 lpWindowName, 文本型
.参数 dwStyle, 整数型
.参数 X, 整数型
.参数 Y, 整数型
.参数 nWidth, 整数型
.参数 nHeight, 整数型
.参数 hWndParent, 整数型
.参数 hMenu, 整数型
.参数 hInstance, 整数型
.参数 lpParam, 整数型
.DLL命令 CallWindowProc, 整数型, "user32.dll", "CallWindowProcA"
.参数 lpPrevWndFunc, 字节集
.参数 hwnd, 整数型
.参数 msg, 整数型, 数组
.参数 wParam, 整数型
.参数 lParam, 逻辑型
.DLL命令 DestroyWindow, 整数型, "user32.dll", "DestroyWindow"
.参数 hwnd, 整数型
.DLL命令 GetWindowRect, 整数型, "user32.dll", "GetWindowRect"
.参数 hwnd, 整数型
.参数 lpRect, RECT
.DLL命令 MoveWindow, 整数型, "user32.dll", "MoveWindow"
.参数 hwnd, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 nWidth, 整数型
.参数 nHeight, 整数型
.参数 bRepaint, 整数型
.DLL命令 ShowWindow, 整数型, "user32.dll", "ShowWindow"
.参数 hwnd, 整数型
.参数 nCmdShow, 整数型
.DLL命令 UpdateWindow, 整数型, "user32.dll", "UpdateWindow"
.参数 hwnd, 整数型
.DLL命令 IsWindowVisible, 整数型, "user32.dll", "IsWindowVisible"
.参数 hwnd, 整数型
.DLL命令 EnableWindow, 整数型, "user32.dll", "EnableWindow"
.参数 hwnd, 整数型
.参数 fEnable, 逻辑型
.DLL命令 SetWindowText, 整数型, "user32.dll", "SetWindowTextA"
.参数 hwnd, 整数型
.参数 lpString, 文本型
.DLL命令 GetWindowTextLength, 整数型, "user32.dll", "GetWindowTextLengthA"
.参数 hwnd, 整数型
.DLL命令 GetWindowText, 整数型, "user32.dll", "GetWindowTextA"
.参数 hwnd, 整数型
.参数 lpString, 文本型
.参数 cch, 整数型
.DLL命令 IsZoomed, 整数型, "user32.dll", "IsZoomed"
.参数 hwnd, 整数型
.DLL命令 IsIconic, 整数型, "user32.dll", "IsIconic"
.参数 hwnd, 整数型
.DLL命令 CreateRoundRectRgn, 整数型, "gdi32.dll", "CreateRoundRectRgn"
.参数 X1, 整数型
.参数 Y1, 整数型
.参数 X2, 整数型
.参数 Y2, 整数型
.参数 X3, 整数型
.参数 Y3, 整数型
.DLL命令 SetWindowRgn, 整数型, "user32.dll", "SetWindowRgn"
.参数 hwnd, 整数型
.参数 hRgn, 整数型
.参数 bRedraw, 逻辑型
.DLL命令 DeleteObject, 整数型, "gdi32.dll", "DeleteObject"
.参数 hObject, 整数型
.DLL命令 SendMessage, 整数型, "user32.dll", "SendMessageA"
.参数 hwnd, 整数型
.参数 msg, 整数型
.参数 dw1, 整数型
.参数 dw2, 整数型
.DLL命令 RtlMoveMemory_IconDirEntry, , "kernel32.dll", "RtlMoveMemory"
.参数 Destination, IconDirEntry
.参数 Source, 字节集
.参数 cbCopy, 整数型
.DLL命令 CreateIconFromResource, 整数型, "user32.dll", "CreateIconFromResource"
.参数 presbits, 字节集
.参数 dwResSize, 整数型
.参数 fIcon, 逻辑型
.参数 dwVer, 整数型
.DLL命令 PostQuitMessage, , "user32.dll", "PostQuitMessage"
.参数 nExitCode, 整数型
.DLL命令 SetCapture, 整数型, "user32.dll", "SetCapture"
.参数 hwnd, 整数型
.DLL命令 ReleaseCapture, 整数型, "user32.dll", "ReleaseCapture"
.DLL命令 GdiplusStartup, 整数型, "gdiplus.dll", "GdiplusStartup"
.参数 token, 整数型, 传址
.参数 inputbuf, GdiplusStartupInput
.参数 outputbuf, 整数型
.DLL命令 GetStockObject, 整数型, "gdi32", "GetStockObject"
.参数 nIndex, 整数型
.DLL命令 GdipAlloc, 整数型, "gdiplus", "GdipAlloc"
.参数 size, 整数型
.DLL命令 GetObject, 整数型, "gdi32", "GetObjectA"
.参数 hObject, 整数型
.参数 nCount, 整数型
.参数 lpObject, 整数型
.DLL命令 GetDC, 整数型
.参数 hWnd, 整数型
.DLL命令 GdipCreateFontFromLogfontA, 整数型, "gdiplus", "GdipCreateFontFromLogfontA"
.参数 hDC, 整数型
.参数 logfont, 整数型
.参数 createdfont, 整数型, 传址
.DLL命令 ReleaseDC, 整数型
.参数 hWnd, 整数型
.参数 hDC, 整数型
.DLL命令 GdipFree, , "gdiplus", "GdipFree"
.参数 ptr, 整数型
.DLL命令 MultiByteToWideChar, 整数型
.参数 CodePage, 整数型
.参数 dwFlags, 整数型
.参数 lpMultiByteStr, 文本型
.参数 cchMultiByte, 整数型
.参数 lpWideCharStr, 字节集
.参数 cchWideChar, 整数型
.DLL命令 GdipCreateFontFamilyFromName, 整数型, "gdiplus", "GdipCreateFontFamilyFromName"
.参数 name, 字节集
.参数 fontCollection, 整数型
.参数 fontFamily, 整数型, 传址
.DLL命令 GdipCreateFont, 整数型, "gdiplus", "GdipCreateFont"
.参数 fontFamily, 整数型
.参数 emSize, 小数型
.参数 style, 整数型
.参数 unit, 整数型
.参数 createdfont, 整数型, 传址
.DLL命令 GdipDeleteFontFamily, 整数型, "gdiplus", "GdipDeleteFontFamily"
.参数 fontFamily, 整数型
.DLL命令 GdipDeleteFont, 整数型, "gdiplus", "GdipDeleteFont"
.参数 curFont, 整数型
.DLL命令 GdipDrawString, 整数型, "gdiplus", "GdipDrawString"
.参数 graphics, 整数型
.参数 str, 字节集
.参数 Length, 整数型
.参数 thefont, 整数型
.参数 layoutRect, 矩形F
.参数 StringFormat, 整数型
.参数 Brush, 整数型
.DLL命令 lstrlenw, 整数型, "kernel32.dll", "lstrlenW"
.参数 dqcs, 字节集
.DLL命令 GdipMeasureString, 整数型, "gdiplus", "GdipMeasureString"
.参数 graphics, 整数型
.参数 str, 字节集
.参数 Length, 整数型
.参数 thefont, 整数型
.参数 layoutRect, 矩形F
.参数 StringFormat, 整数型
.参数 boundingBox, 矩形F, 传址
.参数 codepointsFitted, 整数型
.参数 linesFilled, 整数型
.DLL命令 GlobalAlloc, 整数型
.参数 wFlags, 整数型
.参数 dwBytes, 整数型
.DLL命令 GlobalLock, 整数型
.参数 hMem
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。