09-10-2015, 05:06 AM
Quote:My question is why is this better than creating dlg? In QM environment you have dialog editor so can use that to layout "application" as dialog window. In your example, it seems like would have to be manual coding effort to do this.CreateWindowEx is more lightweight (dialogs also use it, but wrap it in several layers of code), therefore would be better for simple floating windows like QM toolbars. But if you use many various controls, then better dialogs, because much easier.
Quote:Is there a better way of doing this?I don't know better ways. Just need to optimize exe_window_trigger, now it looks slow. Does not check parameters, calls win.