Monthly Archives

October 2010

Computers & Programming

Ribbon Bar Fun

The ribbon bar code that comes with MFC in Visual Studio 2010 doesn’t work right. Well, it certainly isn’t exactly the same as the ribbon bar that is part of office 2010. Maybe that’s how Microsoft wants it but I can’t find any way to get it to…

Continue reading
Uncategorized

Nothing to Report

I have nothing going on at the moment and nothing to say except to say that I have nothing to say. I was installing and using Visual Studio 2010 and converted the linkage program to use the Windows 7 style toolbar. Microsoft needs to act a little more…

Continue reading
Computers & Programming

On Interface and Software Design

First, designing a user interface has almost nothing to do with writing software. There are software limitations that affect the design but other than that, the underlying code and data structures should not be considered until after the user interface is fully designed. I ran into this issue…

Continue reading
Computers & Programming

Who writes code like this?

This is some Microsoft code in an example program: CMFCRibbonColorButton* pBtn1 = new CMFCRibbonColorButton(ID_RIBBON_CBTN_1, _T(“&Simple”), TRUE, 0, 0); pBtn1->SetAlwaysLargeImage(); pBtn1->SetDefaultCommand(FALSE); pPanel1->Add(pBtn1); CMFCRibbonColorButton* pBtn2 = new CMFCRibbonColorButton(ID_RIBBON_CBTN_2, _T(“Simple with Options”), TRUE, 1, 1); pBtn2->SetAlwaysLargeImage(); pBtn2->SetDefaultCommand(FALSE); pBtn2->EnableAutomaticButton(_T(“&Automatic”), RGB(0, 0, 0)); pBtn2->EnableOtherButton(_T(“&More Colors…”), _T(“More Colors”)); pPanel1->Add(pBtn2); CMFCRibbonColorButton* pBtn3 = new CMFCRibbonColorButton(ID_RIBBON_CBTN_3,…

Continue reading
Uncategorized

Greenland Storm Paddle Finished

I have finished all of the carving, shaping, and sanding of my new Greenland storm paddle. I burned in the number 4 to signify that this is the fourth paddle I have made and I applied a coat of Minwax natural stain. Click on the small image to…

Continue reading
Linkage Program

Ribbon Bar Working in Linkage 2.0

I now have the linkage program working with the new ribbon bar. I’m not sure if it’s much better than the old-style toolbar but it’s prettier. I wanted to use an image gallery in the ribbon bar to select sample mechanisms but even with 128×128 pixel images, it’s…

Continue reading