Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
GeneralC# Code Comments Pin
Patrick John Collins17-Apr-02 23:02
Patrick John Collins17-Apr-02 23:02 
GeneralRe: C# Code Comments Pin
James T. Johnson18-Apr-02 5:47
James T. Johnson18-Apr-02 5:47 
GeneralRe: C# Code Comments Pin
Neil Van Note18-Apr-02 19:06
Neil Van Note18-Apr-02 19:06 
GeneralRe: C# Code Comments Pin
Patrick John Collins18-Apr-02 21:32
Patrick John Collins18-Apr-02 21:32 
GeneralOutlookBar Pin
BLaZiNiX17-Apr-02 18:05
BLaZiNiX17-Apr-02 18:05 
GeneralRe: OutlookBar Pin
James T. Johnson17-Apr-02 18:16
James T. Johnson17-Apr-02 18:16 
GeneralRe: OutlookBar Pin
BLaZiNiX17-Apr-02 18:25
BLaZiNiX17-Apr-02 18:25 
GeneralRe: OutlookBar Pin
James T. Johnson17-Apr-02 18:36
James T. Johnson17-Apr-02 18:36 
Creating one is a bit different, but might not be too hard to do. Essentially each pane in the outlook bar consists of a Panel, a Button, and a List View set in Large Icon or Small Icon mode.

Instead of a list view you can also create your own control which uses flat buttons instead.

Clicking on a button tells the outer-most control that it needs to move the panels above to the top so only the button can be seen, and move the panels beneath the one selected to the bottom (changing the height of the panel so as not to obscure the other buttons). Then resize the panel that was clicked on so that it fills the rest of the area (DockStyle.Fill Smile | :) )

Off the top of my head anyway Smile | :)

If I get around to it I may actually write an Outlook Bar component someday Big Grin | :-D

MFC differs a bit from .NET because it doesn't have any builtin layout engine. In .NET you get some aspects built in, which is why I think it requires docking. Usually though docking isn't a problem, you just have to figure out the combination of splitters and other controls to get it to look the way you want.

James

Simplicity Rules!
GeneralRe: OutlookBar Pin
BLaZiNiX17-Apr-02 18:46
BLaZiNiX17-Apr-02 18:46 
GeneralRe: OutlookBar Pin
James T. Johnson17-Apr-02 19:03
James T. Johnson17-Apr-02 19:03 
GeneralRe: OutlookBar Pin
Ben Kloosterman17-Apr-02 18:48
Ben Kloosterman17-Apr-02 18:48 
GeneralDataSet: no MoveNext or any indexing at all Pin
17-Apr-02 10:38
suss17-Apr-02 10:38 
GeneralRe: DataSet: no MoveNext or any indexing at all Pin
James T. Johnson17-Apr-02 11:51
James T. Johnson17-Apr-02 11:51 
GeneralRe: DataSet: no MoveNext or any indexing at all Pin
18-Apr-02 4:34
suss18-Apr-02 4:34 
QuestionSaving class instance to file?? Pin
HG17-Apr-02 9:41
HG17-Apr-02 9:41 
AnswerRe: Saving class instance to file?? Pin
James T. Johnson17-Apr-02 11:43
James T. Johnson17-Apr-02 11:43 
GeneralLogicalDrives Pin
Mazdak17-Apr-02 9:32
Mazdak17-Apr-02 9:32 
GeneralRe: LogicalDrives Pin
Nick Parker17-Apr-02 9:57
protectorNick Parker17-Apr-02 9:57 
GeneralRe: LogicalDrives Pin
Mazdak18-Apr-02 5:21
Mazdak18-Apr-02 5:21 
GeneralFileAttribute Pin
Mazdak17-Apr-02 8:05
Mazdak17-Apr-02 8:05 
GeneralRe: FileAttribute Pin
James T. Johnson17-Apr-02 12:43
James T. Johnson17-Apr-02 12:43 
GeneralRe: FileAttribute Pin
Mazdak18-Apr-02 5:22
Mazdak18-Apr-02 5:22 
QuestionF1 Help? Pin
Neo Anderson17-Apr-02 6:28
Neo Anderson17-Apr-02 6:28 
AnswerRe: F1 Help? Pin
James T. Johnson17-Apr-02 15:00
James T. Johnson17-Apr-02 15:00 
GeneralAVI Pin
17-Apr-02 5:29
suss17-Apr-02 5:29 

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.