Click here to Skip to main content
15,886,059 members
Home / Discussions / CWndSliderView - An animated child window manager
   

CWndSliderView - An animated child window manager

 
QuestionDialog-based program? Pin
mingluen12-Dec-04 23:15
mingluen12-Dec-04 23:15 
AnswerRe: Dialog-based program? Pin
izst7-Jun-06 20:47
izst7-Jun-06 20:47 
please follow the three steps:

1. Make CCaptionView to CWndSliderView inherit form CWnd instead of CView
2. Create a CWndSliderView like this, its the parent window can be any windows.

CWndSliderView* pTetsV = new CWndSliderView;
pTetsV->Create(NULL, NULL, WS_VISIBLE | WS_CHILD, CRect(0, 0, 322, 428), this), 0x3399);
pTetsV->CreateView( _T("1 Test"), RUNTIME_CLASS(CMyListView), NULL);
pTetsV->CreateView( _T("2 Test"), RUNTIME_CLASS(CMyListView), NULL);

3. Sent WM_SIZE to CWndSliderView
WPARAM wParam = SIZE_RESTORED;
LPARAM lParam = 0x3100310;
pTetsV->SendMessage(WM_SIZE, wParam, lParam);

it seems work.

Generalrendering bug Pin
Jan1101197728-Jun-04 5:52
Jan1101197728-Jun-04 5:52 
GeneralZer gut! Pin
ThEN12-Feb-02 23:57
ThEN12-Feb-02 23:57 
GeneralNot created in case of CFormView Pin
28-Jan-02 5:12
suss28-Jan-02 5:12 
GeneralRe: Not created in case of CFormView Pin
Warren Gardner6-Dec-02 3:55
Warren Gardner6-Dec-02 3:55 
GeneralSuggestion Pin
Noman Nadeem19-Sep-01 2:41
Noman Nadeem19-Sep-01 2:41 
GeneralTwo Comments Pin
17-Aug-01 10:55
suss17-Aug-01 10:55 
Generaloutlook bar Pin
vinayb1318-Jul-01 9:20
vinayb1318-Jul-01 9:20 
GeneralMessage Closed Pin
12-Jan-00 18:40
Paul Selormey12-Jan-00 18:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.