thanks

do dialog boxes receive WM_PAINT messages and whats the difference between creating the window by code +using CreateWindowEx for all controls and making a dialog box using a resource? Do their differ somehow (like receive different messages or smth because CreateWindowEx creates a "window" while CreateDialog creates a "modeless dialog")
I would really appreciate it if you could answer these questions
