CreateDialog and TForm


2005-06-06 02:08:34 PM
cppbuilder68
Hello!
I need create/Use Form without parent
(I want achieve result like new Form creating new task button on task bar)
my idea is use
CreateDialog(hInstance, MAKEINTRESOURCE(IDD_DIALOG), NULL,
WndDialogProc);
function in Builder C++.
I think
hInstance = GetModuleHandle(NULL);
but how can I get IDD_DIALOG and WndDialogProc from TForm ??