I want to have a view on a window and in response to a message (button click or menu) I want to have another view slide down above it, and have the first view resize.
I want to go from this:
**********************************
*                                *
*--------------------------------*
*|                              |*
*|        view 1                |*
*|                              |*
*--------------------------------*
*                                *
**********************************
to this:
**********************************
*                                *
*--------------------------------*
*|        view 2                |*
*--------------------------------*
*--------------------------------*
*|        view 1                |*
*--------------------------------*
*                                *
**********************************
I'm not necessarily looking for code, an idea of where to start would be appreciated.
This is for a desktop app.