I am following the tutorial on modeless_dialogs.html about dialog boxes. In an example, when it shows the code CreateDialog(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_TOOLBAR), hwnd, ToolDlgProc);, at the end it shows ToolDlgProc. And I have one question. When is this defined? How can I implement this? What do I have to add to define something like that?
