 |
|
 |
Hi
Thanx for the nice control. It works fine for vc8. but in vc9 (VS2008) the 'TCN_SELCHANGE' notification message can't be handled. Is there way to do that.
Thanx
A man is known by the company he keeps.
|
|
|
|
 |
|
 |
Have the same problem in VC10.
You have to change the value of IDC_TABED_REBAR in BHTabedReBar.h
originally it's 0x75107 and it's out of bounds.
Try something in normal range in resource.h for an IDC (between 1000 and 32771) and it should work again.
The wiser is to put IDC_TABED_REBAR in resource.h to avoid two resources to use the same ID.
|
|
|
|
 |
|
 |
You help me so much!I want to use a new bitmap,but I don't kown the require of the bitmap.Maybe you can tell me! Thank you!
|
|
|
|
 |
|
 |
Good Work, thanks
you helped me very much!
|
|
|
|
 |
|
|
 |
|
 |
Thank you very much!
|
|
|
|
 |
|
 |
Hello
Ich found a bad bug. If the toolbar is floating, some buttons, which are related to the doc/view are desiabled. But if the toolbar is docked, they are enable again.
why?
is there any solution out there?
thx
|
|
|
|
 |
|
 |
I saw that bug, i will fix up soon. The problem is in message routing. When the rebar is floating, messages avoid the rebar control, and only message which is defined in CWinApp class is enabled.
thanx
|
|
|
|
 |
|
 |
please let me know, how ya fixed the problem. It would be very kind of you!
greetz
Thorsten
|
|
|
|
 |
|
 |
You can fixed the problem if you define events of the rebars buttons in to CWinApp class, then you will get enabled toolbar buttons when the rebar control is in floating mode.
For example:
In CWinApp class declaration (header file) declare
afx_msg void OnGoBack();
in (ceresponding cpp file)
BEGIN_MESSAGE_MAP(CTabedReBarExampleApp, CWinApp)
//{{AFX_MSG_MAP(CTabedReBarExampleApp)
.................................
ON_COMMAND(ID_GO_BACK, OnGoBack)
END_MESSAGE_MAP()
// Definition of the message member
void CTabedReBarExampleApp::OnGoBack()
{
// TODO: Add your command handler code here
}
regards
|
|
|
|
 |
|
 |
I've done it the same way like ya. But not in CWinApp. I put it in to my CView class. Because, I need it there. But it didn't work
regards
|
|
|
|
 |
|
 |
thats cool source, but I have a problem. The Tabbed Rebar is as long as my Main Window. But I want that the tabbed rebar has a with of x=200 and y=100
how can i do that?!
thank you in advanced
|
|
|
|
 |
|
 |
The size of tabbed rebar is determined with the size of the largest icons loaded in it. If you load all 16x16 pixels icons, the tabbed rebars will have height of (16 + tab height) pixels, and width will be the same as main window. The reason for that is that the toolbar and rebars are clients window of mainframe window. The width of 200 pixels is irrelevant,cause rebars cover all space at bottom or top of the mainwindow with this height.
If you want that rebars will have specifics size when it is in floating mode, zou can set in CalcFixedLayout and CalcDynamicLayout members.
regards.
|
|
|
|
 |
|
 |
Such UI controls are both useless and confusing. The Windows TOOLBAR system, with its customizations and all, provides a much more elegant and powerful solution than this hard-on-the-eyes-and-real-estate aproach.
Back in the mid 90's, many Java based IDEs (there was never much else written with Java AWT other than IDEs) that used Tabbed-Toolbars. They were always a messy catastrophy.
|
|
|
|
 |
|
 |
Thanks for your comment,
but you are compleatly wrong.
Look the latest applications like 3D Studio Max, maya, vEdit2, Delphi etc all have tabbed toolbar.
|
|
|
|
 |
|
 |
Interesting that the apps you name are IDE's or apps designed in the mid-90s to be used by people who cannot cope with change (artists).
What makes you think Delphi, Maya, 3DSMAX or vEdit2 (whatever that is) have good or well thought out UI's?
Does MSOffice (arguably the best designed and most thought-out app ever) have tabbed tool-bars? How about web-browsers? Not even the craziest Mozilla themes create such UIs. You'll be hard pressed to find this abomination in the hap-hazard world of UNIX UI toolkits.
Adobe also comes up with some masterful UI's, especially in the arena graphic design. Show me tabbed tool bars in any of their current apps. Illustrator? Photoshop? Acrobat? You'll find tabs in their tool windows, not on their toolbars.
|
|
|
|
 |
|
 |
Tabbed toolbars my not be common in the bigger companies like MS Office or Adobe. But I must agree with the usefulness of it. I know a lot of users who like the functionality of their toolbars but don't like the clutter of 10- 15 of them on their screen at once. A tabbed toolbar is a good solution to this. The old solution was fly outs. Not much different in concept.
J Morgan
|
|
|
|
 |
|
 |
hey, if you don't like, don't use it...
it's free, and noone foced you to read this article.
so... with sayin it's uggly, it's enought, you don't have to attack the author or the article... just say it and if you have some education, doit with respect... damn!
|
|
|
|
 |
|
|
 |
|
 |
I have a very good reason for speaking out against bad controls; its so people do not make the mistake of actually using them in their apps.
If people didn't take the time to point out which controls were bad from a usability point of view, we'd still be using propperty sheets with tabs-within-tabs and confirmation buttons coded into every page. We'd still be using unix-style 3 mouse buttons for cut-n-paste. We'd still be using dialogs with one prompt and an OK button.
|
|
|
|
 |
|
 |
I am very tired of your comment. You are talking about usability, why not talking about my code. You have good reason for that, I have too. So if you have some comment about the code I will try to answer.
|
|
|
|
 |
|
 |
If you need it...use it!
Great job Bahrudin.
Thank You!!
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
 |
|
 |
Hey, now even MS Office 2007 onwards uses new kind of toolbar system (called ribbons) which uses tabs!
|
|
|
|
 |
|
 |
yeh, the new ribbon is a Tab-Toolbar design .. With flair of course! But none the less it is a Tabbed toolbar.
|
|
|
|
 |
|
 |
I concur
Maybe if the tabs were right aligned it wouldn't be so bad. On the left though it's very (not confusing) but non-eligant.
How do I print my voice mail?
|
|
|
|
 |