Page 1 of 1

Displaying a Dialog from a dLL

Posted: 15 Nov 2014 0:05
by Tonton Luc
Hi,

Is it possible to display a Dialog from a dLL ?
I've tryed this without success :

Code: Select all

        Hdl = uncheckedConvert(window,vpi::getattrval(vpiDomains::attr_screen_window)), %        Hdl = uncheckedConvert(window,vpi::getattrval(vpiDomains::attr_win_mdi_client_hwnd)), %        Hdl = uncheckedConvert(window,vpi::getattrval(vpiDomains::attr_task_window)), %        Hdl = uncheckedConvert(window,vpi::getTaskWindow()),         D = dial1::new(toTerm(Hdl)),         D:show()

Posted: 15 Nov 2014 23:55
by Thomas Linder Puls
You should use window::getScreenWindow to obtain the screen window.