FormRun.hWnd Method [AX 2012]
Retrieves a Windows handle for the form.
The following example shows a call to the hWnd method that returns a handle for the form.
void runForm(Form form)
{
Args args;
FormRun formRun;
int handle;
args = new Args();
args.object(form);
// Create the run-time form.
formRun = classfactory.formRunClass(args);
formRun.run();
formRun.detach();
handle = formRun.hWnd();
}
Community Additions
ADD
Show: