Originally posted by: Jochen
This don't work in Win2K
::SetWindowWord(...);
you must use :
::SetWindowLong (...);
Greetings Jochen
Originally posted by: alex khor
The scrollview don't have the IDD_FORM, i don't know how to
switch to scrollview by using this program.
Please Help Me!
Thanks.
ReplyOriginally posted by: Alan Adam
I've spent days trying to figure out how to do what I've just downloaded from you. I could give you a hug! Thanks.
ReplyOriginally posted by: Hilson
pNewActiveView->SetDlgCtrlID(AFX_IDW_PANE_FIRST);
// add this line at NT ,it can work in windows too.
SetActiveView(pNewActiveView); // change the active view
pNewActiveView->ShowWindow(SW_SHOW);// show the new window
pOldActiveView->ShowWindow(SW_HIDE); // hide the old
//::SetWindowWord(pNewActiveView->m_hWnd, GWL_ID, AFX_IDW_PANE_FIRST); // this line only work at windows.
...then it can switch view ....
Originally posted by: Dr. Ian Wilson
This has saved me a lot of time and the author deserves a lot of credit!
Thanks
ReplyOriginally posted by: Chris Reed
Also, the current view is not redrawn/resized when I resize
-Chris
The views do not get switched when selecting them in the menu or popup!
the window.
Originally posted by: Diederik Huys
OK, but when I try switching between CDaoRecordView 's, the toolbar buttons get *disabled* in the second view (all except for the Help-icon). When I switch back to the first view, the buttons are enabled.
Why???
Diederik.
Reply
Originally posted by: Dan O'Connor
I have implemented an SDI application with a splitter bar. I have a view associated with either side of the splitter. Both view classes are derived from CScrollView. Both Views just display text. The problem occurs if I do the following:
1) Launch the Application,
2) Attempt to resize the application.
3) Application Freezes!!!
Every thing is alright if I do the following:
1) Launch the application.
2) Goto File->Open Files.
3) Select the 2 file and they open and display properly.
4) I can then resize the application as much as I want.
It's as if the application has some difficulty repainting initially.
Does anyone have any idea of what could be causing this, any help would be greatly appreciated.
Thanks,
Dan
ReplyOriginally posted by: vinod kumar
Use pNewView->Invalidate();
and SetWindowLong for 32 bit applications!!
Reply
Originally posted by: Lee
I'll give this a trial run in a project I'm currently working on. The views are well-suited for my app and look cleaner than tab controls/ property sheets.
Reply