dll create dialog

1. First create a dynamic link library dll

image

2. Add the resource file

image

3. any operation you want to interface the

4. In the following modifications in the DllMain method dllmain.cpp

image

Callback function prototypes

DLGPROC Dlgproc;

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

{...}

5. Follow what you want

image

image

Guess you like

Origin www.cnblogs.com/Check-me/p/11888566.html