Replacing Windows DestroyWindow call
-
Is replacing DestroyWindow as simple as using 'delete'? Using cpp
-
@joeydonovan4 said:
Is replacing DestroyWindow as simple as using 'delete'? Using cpp
What do you mean???
DestroyWindow
is not a Qt function; what do you need? -
DestroyWindow is a Windows function. How do I replace it using Qt or just c++
-
QWidgets are C++ classes which hides system specific api.
If you want QWidget* to be deleted and you created instance with operator new you call delete w.
As for any C++ type this will destroy instance (and window if any was shown)If you want just to hyide widget you can call hide().
-
Hi,
Depending on where you would do that, deleteLater() would be more adequate