 |
|
|
I have seen a tool like this in VB but not in VC. I think this is a very good and usable tool. a lot of ideas have been provided by the author. Thanks mate..
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi, I am having serious trouble incorporating this into a dialog based MFC application and I was hoping someone could tell me what I am doing wrong and how to fix it. What I am doing is as follows:
1/. Creating a new dialog based application (called rolltest) and copied RollupCtrl.h and RollupCtrl.cpp across 2/. Creating new blank dialog called "IDD_DIALOG" (as done in the demo) (no class has been created or attached to this dialog) 3/. Using MFC ClassWizard on the main application dialog, I have created a added a function for the message "WM_CREATE" 4/. In this function I have written the following code:
int CRollTestDlg::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CDialog::OnCreate(lpCreateStruct) == -1) return -1; BOOL bRes = m_wndDialogBar.Create(this, IDD_DIALOG, WS_VISIBLE|WS_CHILD|CBRS_LEFT,1);//|WS_CHILD|CBRS_LEFT, 1); m_wndDialogBar.EnableDocking(CBRS_ALIGN_RIGHT|CBRS_ALIGN_LEFT); // DockControlBar(&m_wndDialogBar); BOOL cRes = m_wndRollupCtrl.Create(WS_VISIBLE|WS_CHILD, CRect(4,4,187,362), &m_wndDialogBar, 2); return 0; }
and in the header file I have included the following: #include "RollupCtrl.h"
and CRollupCtrl m_wndRollupCtrl; CDialogBar m_wndDialogBar;
I would expect to see a blank rollup in the window when I compile but I see absolutely nothing! Does anyone know what I am doing wrong.
Thanks Robbie
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
This control is very good. I'm want ask you: i want dinamically add new control (as button or edit box, static text) on the page. how i may do it?
For example: i have dialog(rollupCtrl). I don't know before run programm how much this dialog will have button or edit box. My programm must add new control in any page ,if user want add edit box etc...
how?
Thank you.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Hi I have severe problems in my VC7++ MDI application with RollUpCtrl. The DialogBar is inserted correct in the left side of the Main Window. The Slider (scrollbar) is correct, shows the right length (I expand all pages in the initialization with __pm_wndRollupCtrl->ExpandAllPages() , but all inserted pages ends up as floating modeless dialogboxes. I can't see the header button, used to expand or close the dialog. In some way the dialogs are not fixed as childs to the ScrollUpCtrl, but to the main Application. Anybody who has a tip/hint, please reply.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
theres somebody who knows how can this be done ? I've been trying it combining it with the Sizing TabControlBar (by Dirk Clemens)
http://www.codeproject.com/docking/sizing_tabctl.asp?msg=531363
but, i can't make it work at all ! Maybe is easier than it seems to be... ¿?
any ideas?
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
How about adding a + and - to the left of the title for each page, like a tree control has?
Great control!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Has anyone implemented this in C#/.Net/WinForm? It's a great control and I could use it (or something similar) in a project I'm working on, but the project is in C# using .Net and WinForms.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Well I have an simple problem (I think so). I've added a custom control to a pane on rollup control. When I try to Invalidate() custom control, or rollup pane, it flickers. The problem is not in custom control, 'cause when it is handled separatly in any other window, flickering doesn't show up, and everything is just fine. What needs to be modified in Rollup Ctrl? Anny suggestion?
- Thanx
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Looks like the source is down?!?!
Could someone forward it to me if they have it? Thanks... Send it to univega_r304@yahoo.com...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
//--------------------------------------------------------------------------- // Function name : _RemovePage // Description : Called by RemovePage or RemoveAllPages methods //--------------------------------------------------------------------------- void CRollupCtrl::_RemovePage(int idx) { RC_PAGEINFO* pi = m_PageList[idx];
//Get Page Rect CRect tr; pi->pwndTemplate->GetWindowRect(&tr);
//Update PageHeight m_nPageHeight-=RC_PGBUTTONHEIGHT+(RC_GRPBOXINDENT/2); if (pi->bExpanded) m_nPageHeight-=tr.Height();
//Remove wnds if (pi->pwndButton) delete pi->pwndButton; if (pi->pwndGroupBox) delete pi->pwndGroupBox;
if (pi->pwndTemplate && pi->bAutoDestroyTpl) { pi->pwndTemplate->DestroyWindow(); delete pi->pwndTemplate; } //============================================================================================================== // CHANGES MADE TO CODE. else { // If the template will not be deleted, it must stop using the current window proc it´s using. // For this reason, we must set its DWL_DLGPROC window long to pOldDlgProc. ::SetWindowLong(pi->pwndTemplate->m_hWnd, DWL_DLGPROC, (LONG)pi->pOldDlgProc); } //==============================================================================================================
//Remove page from array m_PageList.RemoveAt(idx);
//Delete pageinfo delete pi; }
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Have the source files been pulled because the control's look and feel is patented? If so, is that sufficient grounds for pulling the code?
(I'm not a lawyer and don't play one on TV).
/ravi
Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
That's right, rollup panels are patented by Autodesk. I bet most people don't even think about what all the patent numbers in, for instance, the Adobe Photoshop about box actually stands for. I did a search for patents held by Adobe Systems, Inc.[^], just for fun. They have 249 patents, covering things like multi page dialogs, and tabbed toolbars.
How are you supposed to do any user interface design at all if you must take this into consideration?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
The patent says: ..."but the size of area of the screen used by the subpanels remains unchanged". Maybe this could be a workaround... If dialogs (subpanels) are resized while resizing the GUI (i.e. horizontally), their areas are not unchanged, aren't they ?
Bye. Triac
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
hmm... after reading that patent, it looks suspiciously like a description of Microsoft's Outlook control - which was created and patented before AutoDesk's 1999 submission.
I have a feeling that AutoDesk's lawyers wouldn't be very sucessfull holding up the patent in a court of law....
"...graphical user interface ("GUI") incorporating one or more subpanels. Each subpanel has a presentation control and can have one or more GUI objects displayed on the computer screen. Each subpanel may be toggled between an expanded state or a collapsed state by operating the presentation control. Expanding and collapsing the subpanels changes the appearance and the functionality of the GUI, but the size of area of the screen used by the subpanels remains unchanged."
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Hi!
First of all, this control is cool I think it is nice if the control can do this: user can drag and drop a page to any position they want while an alpha preview of the where the page will land in goes along the mouse.
Good Luck!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I also made a base class for all pages based on a the CResizableDialog I got from somewhere here.
Added some additional mapping and iteration to it too.
Please excuse the tube, but I haven't eaten today.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Just a few things, your implementation does not support Unicode. Only a few types to change and it works though (const char * into LPCTSTR and LPCSTR into LPCTSR and add a few _T("") ). The menu on the right click is in French (I do not mind it being French myself but it is worth mentionning so people who will download it know they need to check this). Another thing, when you implement drag & drop on the child dialogs, havoc happens. To remedy this, I have added a SendMessage in your DlgWindowProc so the child dialogs cand indicate if they wish to support your implementation of the drag & drop or their own. In the future, if you could add options to the scrollbar which is sometimes not understood by users, that would be terrific! But all in all, it is a fantastic control. One of the very best in CP! Thanks for sharing!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |