Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Window MessageLoop
ImGUI 1.87 绘制D3D外部菜单
ImGUI 它是与平台无关的C++轻量级跨平台图形界面库,没有任何第三方依赖,可以将ImGUI的源码直接加到项目中使用,该框架通常会配合特定的D3Dx9等图形开发工具包一起使用,ImGUI常用来实现进程内的菜单功能,而有些辅助开发作者也会使用该框架开发菜单页面,如下将公开新版ImGUI如何实现绘制外部菜单的功能。 ImGUI官方下载地址:https://github.com/ocornut/imgui/releases 在使用ImGUI页面之前需要先来实现一个简单的附着功能,即如何将一个窗体附着到另一个窗体之上,其实代码很简单,如下所示当用户输入进程PID时,会自动跟随窗体并附着在窗体顶部。 #include <Windows.h> #include <iostream> struct handle_data { unsigned long process_id; HWND best_handle; }; BOOL IsMainWindow(HWND handle) { return GetWindow(handle, GW_OWNER) == (HWND)0 &&...
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Window
Contact Window, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack