 |
|
 |
thanks you very much for so wonderful control!!!
|
|
|
|
 |
|
|
 |
|
 |
Could I integrate the "Simple Tab Conrol for Visual C++" with "Rollup Control"?
"Rollup Control" source code is at http://www.codeproject.com/KB/miscctrl/rollupctrl.aspx [^]
"Simple Tab Conrol for Visual C++" source code is at http://www.codeproject.com/KB/tabs/SimpleTab.aspx[^]
I want to do the UI like 3ds max right side, the picture is at http://cid-fbeb6373d9321a7f.skydrive.live.com/self.aspx/Questions/3dsmaxtab.JPG?wa=wsignin1.0&sa=761174895[^]
I think if I can integrated the "Simple Tab Conrol for Visual C++" AND "Rollup Control".
That will be reach almost like 3ds max UI.
|
|
|
|
 |
|
 |
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..
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
It's fixed now:
WS_CHILD was mixed up with some other settings in my Dialog template.
|
|
|
|
 |
|
 |
so great
Info
|
|
|
|
 |
|
 |
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?
|
|
|
|
 |
|
 |
How about adding a + and - to the left of the title for each page, like a tree control has?
Great control!
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
How to make a Dockable "TabPan" with this DialogBar just like 3DS MAX ?
|
|
|
|
 |
|
 |
Looks like the source is down?!?!
Could someone forward it to me if they have it? Thanks...
Send it to univega_r304@yahoo.com...
|
|
|
|
 |
|
 |
I'm also interested in the source code!
Armin.Seemann@infodot.de
Thanks!!
|
|
|
|
 |
|
 |
Try this
http://www.codeproject.com/miscctrl/rollupctrl/rollupctrl_src.zip
|
|
|
|
 |
|
 |
That worked. Thanks
|
|
|
|
 |
|
 |
//---------------------------------------------------------------------------
// 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;
}
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
|
 |
|
 |
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?
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
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."
|
|
|
|
 |
|
 |
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!
|
|
|
|
 |