Thanks you so much.. The MainWindow hides now.. The final code looks like this below.. others who want to achieve the same refer below..
Originally Posted by danhicksbyron
In the PRO file, you need the following libraries.
You need the following headers in your cpp file
LIBS += -lws32\
This is the CLICK action of your hide button..
I have one more question regarding this. I want to hide the application icon from the list of open applications.. (Like they are doing in "Google Maps")
RWindowGroup* wg = &CCoeEnv::Static()->RootWin();
The first one is my application
How do I do that? Thanks