dll中创建对话框

1.首先新建一个动态链接库dll

image

2.添加资源文件

image

3.进行任何你想对界面进行的操作

4.在dllmain.cpp中的DllMain方法中做如下修改

image

回调函数原型

DLGPROC Dlgproc;

INT_PTR Dlgproc( HWND Arg1, UINT Arg2, WPARAM Arg3, LPARAM Arg4 )

{...}

5.进行自己想要的操作

image

image

posted @ 2019-11-19 12:47  Crack_Me  阅读(341)  评论(0编辑  收藏  举报