Visual Studio 2008 pro

MFC Dialog app.

In OnInitDialog() I include the following lines:

ShowWindow(SW_SHOWDEFAULT);
ShowWindow(SW_MAXIMIZE);

This maximizes the window but it overwrites the task bar. How do I maximize the window of the app and still have the task bar visible ??

Thanks
Zapper