├── .gitattributes ├── Ribbon.ico ├── ribbon.bml ├── ribbon.res ├── res ├── Copy.bmp ├── Cut.bmp ├── ExitL.bmp ├── Paste.bmp ├── AddTableL.bmp ├── AddTableS.bmp ├── Button_Image.bmp ├── DeleteTableL.bmp ├── DeleteTableS.bmp ├── PrintRelationshipsL.bmp └── PrintRelationshipsS.bmp ├── resI ├── Cut.bmp ├── Copy.bmp ├── Exit16.bmp ├── Exit32.bmp ├── ExitL.bmp ├── New16.bmp ├── New32.bmp ├── Open16.bmp ├── Open32.bmp ├── OpenHH.bmp ├── Paste.bmp ├── PrintL.bmp ├── Save16.bmp ├── Save32.bmp ├── SaveL.bmp ├── delete.bmp ├── Colors32.bmp ├── GraphHH.bmp ├── SaveAsL.bmp ├── Select32.bmp ├── dropA32.bmp ├── dropB32.bmp ├── dropC32.bmp ├── AddTableL.bmp ├── AddTableS.bmp ├── Indent_S096.bmp ├── OpenFileL.bmp ├── Paste_S096.bmp ├── Print_L096.bmp ├── SaveAs_L096.bmp ├── SaveAs_S096.bmp ├── Save_L096.bmp ├── Save_S096.bmp ├── Unselect32.bmp ├── Button_Image.bmp ├── DeleteTableL.bmp ├── Outdent_S096.bmp ├── PrintPreviewL.bmp ├── RichText_L096.bmp ├── RichText_S096.bmp ├── AlignCenter_S096.bmp ├── AlignLeft_S096.bmp ├── AlignRight_S096.bmp ├── LineSpacing_S096.bmp ├── PageSetup_L096.bmp ├── Paragraph_S096.bmp ├── PlainText_L096.bmp ├── PlainText_S096.bmp ├── PrintQuick_L096.bmp ├── AlignJustify_S096.bmp ├── PrintPreview_L096.bmp ├── OpenDocumentText_L096.bmp ├── OpenDocumentText_S096.bmp ├── PrintRelationshipsL.bmp ├── OfficeXmlDocument_L096.bmp └── OfficeXmlDocument_S096.bmp ├── ribbonI.bml ├── ribbonI.res ├── UIRibbonDemo.twinproj ├── UIRibbonDemoSGallery.twinproj ├── UIRibbonDemoSGallery ├── ribbon.bml ├── ribbon.res ├── res │ ├── red_96.bmp │ ├── blue_120.bmp │ ├── blue_144.bmp │ ├── blue_192.bmp │ ├── blue_96.bmp │ ├── green_96.bmp │ ├── large_96.bmp │ ├── red_120.bmp │ ├── red_144.bmp │ ├── red_192.bmp │ ├── small_96.bmp │ ├── diamond_120.bmp │ ├── diamond_144.bmp │ ├── diamond_192.bmp │ ├── diamond_96.bmp │ ├── ellipse_120.bmp │ ├── ellipse_144.bmp │ ├── ellipse_192.bmp │ ├── ellipse_96.bmp │ ├── green_120.bmp │ ├── green_144.bmp │ ├── green_192.bmp │ ├── large_120.bmp │ ├── large_144.bmp │ ├── large_192.bmp │ ├── medium_120.bmp │ ├── medium_144.bmp │ ├── medium_192.bmp │ ├── medium_96.bmp │ ├── noBorder_96.bmp │ ├── small_120.bmp │ ├── small_144.bmp │ ├── small_192.bmp │ ├── dashBorder_96.bmp │ ├── noBorder_120.bmp │ ├── noBorder_144.bmp │ ├── noBorder_192.bmp │ ├── rectangle_120.bmp │ ├── rectangle_144.bmp │ ├── rectangle_192.bmp │ ├── rectangle_96.bmp │ ├── dashBorder_120.bmp │ ├── dashBorder_144.bmp │ ├── dashBorder_192.bmp │ ├── sizeAndColor_120.bmp │ ├── sizeAndColor_144.bmp │ ├── sizeAndColor_192.bmp │ ├── sizeAndColor_96.bmp │ ├── solidBorder_120.bmp │ ├── solidBorder_144.bmp │ ├── solidBorder_192.bmp │ ├── solidBorder_96.bmp │ ├── roundedRectangle_120.bmp │ ├── roundedRectangle_144.bmp │ ├── roundedRectangle_192.bmp │ └── roundedRectangle_96.bmp ├── ImportRibbon.vbp ├── ribbon.h ├── ribbon.rc └── ribbon.xml ├── UIRibbonDemoIntermediateB.twinproj ├── UIRibbonDemoIntermediateD2D ├── Build_win32 │ ├── MSPTLS.DLL │ └── RICHED20.DLL ├── Build_win64 │ ├── MSPTLS.DLL │ └── RICHED20.DLL └── UIRibbonDemoIntermediateD2D.twinproj ├── ImportRibbon.vbp ├── ImportRibbonI.vbp ├── LICENSE ├── SourceExport-GalleryIntro ├── Settings ├── RibbonClasses.twin └── Sources │ └── RibbonClasses.twin ├── SourceExport-Basic ├── clsRibbonEvents.twin ├── Form1.twin └── Form1.tbform ├── ribbon.rc ├── ribbon.xml ├── SourceExport-Intermediate └── RibbonClasses.twin ├── ribbonI.h └── ribbonI.rc /.gitattributes: -------------------------------------------------------------------------------- 1 | *.twin linguist-language=vb6 2 | -------------------------------------------------------------------------------- /Ribbon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/Ribbon.ico -------------------------------------------------------------------------------- /ribbon.bml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/ribbon.bml -------------------------------------------------------------------------------- /ribbon.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/ribbon.res -------------------------------------------------------------------------------- /res/Copy.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/Copy.bmp -------------------------------------------------------------------------------- /res/Cut.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/Cut.bmp -------------------------------------------------------------------------------- /resI/Cut.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Cut.bmp -------------------------------------------------------------------------------- /ribbonI.bml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/ribbonI.bml -------------------------------------------------------------------------------- /ribbonI.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/ribbonI.res -------------------------------------------------------------------------------- /res/ExitL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/ExitL.bmp -------------------------------------------------------------------------------- /res/Paste.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/Paste.bmp -------------------------------------------------------------------------------- /resI/Copy.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Copy.bmp -------------------------------------------------------------------------------- /resI/Exit16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Exit16.bmp -------------------------------------------------------------------------------- /resI/Exit32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Exit32.bmp -------------------------------------------------------------------------------- /resI/ExitL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/ExitL.bmp -------------------------------------------------------------------------------- /resI/New16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/New16.bmp -------------------------------------------------------------------------------- /resI/New32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/New32.bmp -------------------------------------------------------------------------------- /resI/Open16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Open16.bmp -------------------------------------------------------------------------------- /resI/Open32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Open32.bmp -------------------------------------------------------------------------------- /resI/OpenHH.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/OpenHH.bmp -------------------------------------------------------------------------------- /resI/Paste.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Paste.bmp -------------------------------------------------------------------------------- /resI/PrintL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PrintL.bmp -------------------------------------------------------------------------------- /resI/Save16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Save16.bmp -------------------------------------------------------------------------------- /resI/Save32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Save32.bmp -------------------------------------------------------------------------------- /resI/SaveL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/SaveL.bmp -------------------------------------------------------------------------------- /resI/delete.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/delete.bmp -------------------------------------------------------------------------------- /res/AddTableL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/AddTableL.bmp -------------------------------------------------------------------------------- /res/AddTableS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/AddTableS.bmp -------------------------------------------------------------------------------- /resI/Colors32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Colors32.bmp -------------------------------------------------------------------------------- /resI/GraphHH.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/GraphHH.bmp -------------------------------------------------------------------------------- /resI/SaveAsL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/SaveAsL.bmp -------------------------------------------------------------------------------- /resI/Select32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Select32.bmp -------------------------------------------------------------------------------- /resI/dropA32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/dropA32.bmp -------------------------------------------------------------------------------- /resI/dropB32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/dropB32.bmp -------------------------------------------------------------------------------- /resI/dropC32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/dropC32.bmp -------------------------------------------------------------------------------- /res/Button_Image.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/Button_Image.bmp -------------------------------------------------------------------------------- /res/DeleteTableL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/DeleteTableL.bmp -------------------------------------------------------------------------------- /res/DeleteTableS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/DeleteTableS.bmp -------------------------------------------------------------------------------- /resI/AddTableL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/AddTableL.bmp -------------------------------------------------------------------------------- /resI/AddTableS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/AddTableS.bmp -------------------------------------------------------------------------------- /resI/Indent_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Indent_S096.bmp -------------------------------------------------------------------------------- /resI/OpenFileL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/OpenFileL.bmp -------------------------------------------------------------------------------- /resI/Paste_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Paste_S096.bmp -------------------------------------------------------------------------------- /resI/Print_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Print_L096.bmp -------------------------------------------------------------------------------- /resI/SaveAs_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/SaveAs_L096.bmp -------------------------------------------------------------------------------- /resI/SaveAs_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/SaveAs_S096.bmp -------------------------------------------------------------------------------- /resI/Save_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Save_L096.bmp -------------------------------------------------------------------------------- /resI/Save_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Save_S096.bmp -------------------------------------------------------------------------------- /resI/Unselect32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Unselect32.bmp -------------------------------------------------------------------------------- /UIRibbonDemo.twinproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemo.twinproj -------------------------------------------------------------------------------- /resI/Button_Image.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Button_Image.bmp -------------------------------------------------------------------------------- /resI/DeleteTableL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/DeleteTableL.bmp -------------------------------------------------------------------------------- /resI/Outdent_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Outdent_S096.bmp -------------------------------------------------------------------------------- /resI/PrintPreviewL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PrintPreviewL.bmp -------------------------------------------------------------------------------- /resI/RichText_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/RichText_L096.bmp -------------------------------------------------------------------------------- /resI/RichText_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/RichText_S096.bmp -------------------------------------------------------------------------------- /resI/AlignCenter_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/AlignCenter_S096.bmp -------------------------------------------------------------------------------- /resI/AlignLeft_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/AlignLeft_S096.bmp -------------------------------------------------------------------------------- /resI/AlignRight_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/AlignRight_S096.bmp -------------------------------------------------------------------------------- /resI/LineSpacing_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/LineSpacing_S096.bmp -------------------------------------------------------------------------------- /resI/PageSetup_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PageSetup_L096.bmp -------------------------------------------------------------------------------- /resI/Paragraph_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/Paragraph_S096.bmp -------------------------------------------------------------------------------- /resI/PlainText_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PlainText_L096.bmp -------------------------------------------------------------------------------- /resI/PlainText_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PlainText_S096.bmp -------------------------------------------------------------------------------- /resI/PrintQuick_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PrintQuick_L096.bmp -------------------------------------------------------------------------------- /res/PrintRelationshipsL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/PrintRelationshipsL.bmp -------------------------------------------------------------------------------- /res/PrintRelationshipsS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/res/PrintRelationshipsS.bmp -------------------------------------------------------------------------------- /resI/AlignJustify_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/AlignJustify_S096.bmp -------------------------------------------------------------------------------- /resI/PrintPreview_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PrintPreview_L096.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery.twinproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery.twinproj -------------------------------------------------------------------------------- /resI/OpenDocumentText_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/OpenDocumentText_L096.bmp -------------------------------------------------------------------------------- /resI/OpenDocumentText_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/OpenDocumentText_S096.bmp -------------------------------------------------------------------------------- /resI/PrintRelationshipsL.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/PrintRelationshipsL.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/ribbon.bml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/ribbon.bml -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/ribbon.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/ribbon.res -------------------------------------------------------------------------------- /resI/OfficeXmlDocument_L096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/OfficeXmlDocument_L096.bmp -------------------------------------------------------------------------------- /resI/OfficeXmlDocument_S096.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/resI/OfficeXmlDocument_S096.bmp -------------------------------------------------------------------------------- /UIRibbonDemoIntermediateB.twinproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoIntermediateB.twinproj -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/red_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/red_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/blue_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/blue_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/blue_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/blue_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/blue_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/blue_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/blue_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/blue_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/green_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/green_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/large_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/large_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/red_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/red_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/red_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/red_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/red_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/red_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/small_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/small_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/diamond_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/diamond_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/diamond_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/diamond_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/diamond_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/diamond_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/diamond_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/diamond_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/ellipse_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/ellipse_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/ellipse_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/ellipse_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/ellipse_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/ellipse_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/ellipse_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/ellipse_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/green_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/green_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/green_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/green_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/green_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/green_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/large_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/large_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/large_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/large_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/large_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/large_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/medium_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/medium_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/medium_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/medium_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/medium_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/medium_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/medium_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/medium_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/noBorder_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/noBorder_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/small_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/small_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/small_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/small_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/small_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/small_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/dashBorder_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/dashBorder_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/noBorder_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/noBorder_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/noBorder_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/noBorder_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/noBorder_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/noBorder_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/rectangle_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/rectangle_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/rectangle_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/rectangle_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/rectangle_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/rectangle_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/rectangle_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/rectangle_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/dashBorder_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/dashBorder_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/dashBorder_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/dashBorder_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/dashBorder_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/dashBorder_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/sizeAndColor_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/sizeAndColor_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/sizeAndColor_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/sizeAndColor_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/sizeAndColor_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/sizeAndColor_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/sizeAndColor_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/sizeAndColor_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/solidBorder_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/solidBorder_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/solidBorder_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/solidBorder_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/solidBorder_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/solidBorder_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/solidBorder_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/solidBorder_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoIntermediateD2D/Build_win32/MSPTLS.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoIntermediateD2D/Build_win32/MSPTLS.DLL -------------------------------------------------------------------------------- /UIRibbonDemoIntermediateD2D/Build_win64/MSPTLS.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoIntermediateD2D/Build_win64/MSPTLS.DLL -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/roundedRectangle_120.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/roundedRectangle_120.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/roundedRectangle_144.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/roundedRectangle_144.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/roundedRectangle_192.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/roundedRectangle_192.bmp -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/res/roundedRectangle_96.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoSGallery/res/roundedRectangle_96.bmp -------------------------------------------------------------------------------- /UIRibbonDemoIntermediateD2D/Build_win32/RICHED20.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoIntermediateD2D/Build_win32/RICHED20.DLL -------------------------------------------------------------------------------- /UIRibbonDemoIntermediateD2D/Build_win64/RICHED20.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoIntermediateD2D/Build_win64/RICHED20.DLL -------------------------------------------------------------------------------- /UIRibbonDemoIntermediateD2D/UIRibbonDemoIntermediateD2D.twinproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fafalone/UIRibbonDemos/HEAD/UIRibbonDemoIntermediateD2D/UIRibbonDemoIntermediateD2D.twinproj -------------------------------------------------------------------------------- /ImportRibbon.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation 3 | ResFile32="ribbon.res" 4 | Startup="Sub Main" 5 | Command32="" 6 | Name="Project1" 7 | HelpContextID="0" 8 | CompatibleMode="0" 9 | MajorVer=1 10 | MinorVer=0 11 | RevisionVer=0 12 | AutoIncrementVer=0 13 | ServerSupportFiles=0 14 | VersionCompanyName="Microsoft" 15 | CompilationType=0 16 | OptimizationType=0 17 | FavorPentiumPro(tm)=0 18 | CodeViewDebugInfo=0 19 | NoAliasing=0 20 | BoundsCheck=0 21 | OverflowCheck=0 22 | FlPointCheck=0 23 | FDIVCheck=0 24 | UnroundedFP=0 25 | StartMode=0 26 | Unattended=0 27 | Retained=0 28 | ThreadPerObject=0 29 | MaxNumberOfThreads=1 30 | -------------------------------------------------------------------------------- /ImportRibbonI.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation 3 | ResFile32="ribbonI.res" 4 | Startup="Sub Main" 5 | Command32="" 6 | Name="Project1" 7 | HelpContextID="0" 8 | CompatibleMode="0" 9 | MajorVer=1 10 | MinorVer=0 11 | RevisionVer=0 12 | AutoIncrementVer=0 13 | ServerSupportFiles=0 14 | VersionCompanyName="Microsoft" 15 | CompilationType=0 16 | OptimizationType=0 17 | FavorPentiumPro(tm)=0 18 | CodeViewDebugInfo=0 19 | NoAliasing=0 20 | BoundsCheck=0 21 | OverflowCheck=0 22 | FlPointCheck=0 23 | FDIVCheck=0 24 | UnroundedFP=0 25 | StartMode=0 26 | Unattended=0 27 | Retained=0 28 | ThreadPerObject=0 29 | MaxNumberOfThreads=1 30 | -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/ImportRibbon.vbp: -------------------------------------------------------------------------------- 1 | Type=Exe 2 | Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation 3 | ResFile32="ribbon.res" 4 | Startup="Sub Main" 5 | Command32="" 6 | Name="Project1" 7 | HelpContextID="0" 8 | CompatibleMode="0" 9 | MajorVer=1 10 | MinorVer=0 11 | RevisionVer=0 12 | AutoIncrementVer=0 13 | ServerSupportFiles=0 14 | VersionCompanyName="Microsoft" 15 | CompilationType=0 16 | OptimizationType=0 17 | FavorPentiumPro(tm)=0 18 | CodeViewDebugInfo=0 19 | NoAliasing=0 20 | BoundsCheck=0 21 | OverflowCheck=0 22 | FlPointCheck=0 23 | FDIVCheck=0 24 | UnroundedFP=0 25 | StartMode=0 26 | Unattended=0 27 | Retained=0 28 | ThreadPerObject=0 29 | MaxNumberOfThreads=1 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Jon 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /SourceExport-GalleryIntro/Settings: -------------------------------------------------------------------------------- 1 | { 2 | "configuration.inherits": "Defaults", 3 | "debugger.runtimeCommandLineArguments": "", 4 | "project.appHelpFile": "", 5 | "project.appTitle": "UIRibbonGalleryS", 6 | "project.autoPrettify": true, 7 | "project.buildPath": "${SourcePath}\\Build_${Architecture}\\${ProjectName}.${FileExtension}", 8 | "project.buildType": "Standard EXE", 9 | "project.description": "Windows UI Ribbon Framework Demo - Simple Gallery", 10 | "project.exportPathIsV2": true, 11 | "project.forceDpiAwarenessAtStartup": "NONE", 12 | "project.id": "{6EF9BF08-3623-4EF6-B32F-8D24562E3101}", 13 | "project.licence": "CC0 1.0 Universal", 14 | "project.name": "UIRibbonGalleryS", 15 | "project.optionExplicit": true, 16 | "project.references": [ 17 | { 18 | "id": "{F50B82D0-DCAB-43FE-9631-11959D4A4728}", 19 | "isCompilerPackage": true, 20 | "lcid": 0, 21 | "licence": "MIT", 22 | "name": "[COMPILER PACKAGE] WinNativeForms Package", 23 | "path32": "", 24 | "path64": "", 25 | "publisher": "TWINBASIC-COMPILER", 26 | "versionBuild": 0, 27 | "versionMajor": 0, 28 | "versionMinor": 0, 29 | "versionRevision": 31 30 | }, 31 | { 32 | "id": "{00020430-0000-0000-C000-000000000046}", 33 | "lcid": 0, 34 | "name": "OLE Automation", 35 | "path32": "\\\\?\\C:\\tbproj\\Windows\\SysWOW64\\stdole2.tlb", 36 | "path64": "\\\\?\\C:\\tbproj\\Windows\\SysWOW64\\stdole2.tlb", 37 | "versionMajor": 2, 38 | "versionMinor": 0 39 | }, 40 | { 41 | "id": "{1FCDB98D-617D-4995-9736-2ED0E4746A10}", 42 | "licence": "CC0 1.0 Universal", 43 | "name": "[IMPORTED] twinBASIC Shell Library v4.16.193", 44 | "path32": "/Packages/tbShellLib", 45 | "path64": "/Packages/tbShellLib", 46 | "publishedDate": "05-AUG-2023", 47 | "publishedTime": "14:21:35", 48 | "publisher": "fafalone", 49 | "symbolId": "tbShellLib", 50 | "versionBuild": "193", 51 | "versionMajor": "4", 52 | "versionMinor": "16", 53 | "versionRevision": "0" 54 | } 55 | ], 56 | "project.settingsVersion": 1, 57 | "project.startupObject": "frmMain", 58 | "project.versionCompanyName": "JAJ Productions", 59 | "project.versionFileDescription": "UI Ribbon Demo - Simply Gallery", 60 | "project.versionLegalCopyright": "(c) 2023", 61 | "project.versionMajor": 1, 62 | "project.versionMinor": 3, 63 | "project.versionProductName": "UIRibbonGalleryS", 64 | "project.versionRevision": 5, 65 | "project.warnings": { 66 | "errors": [ 67 | "TB0001", 68 | "TB0002", 69 | "TB0003", 70 | "TB0016", 71 | "TB0015" 72 | ], 73 | "ignored": [] 74 | }, 75 | "runtime.useUnicodeStandardLibrary": true 76 | } -------------------------------------------------------------------------------- /SourceExport-Basic/clsRibbonEvents.twin: -------------------------------------------------------------------------------- 1 | Class clsRibbonEvents 2 | 3 | Implements IUIApplication 4 | Implements IUICommandHandler 5 | 6 | [ Description ("Raised when a command is executed. key is a pointer to a PROPERTYKEY you can copy if needed.") ] 7 | Public Event OnRibbonCmdExecute(ByVal commandId As Long, ByVal verb As UI_EXECUTIONVERB, ByVal key As LongPtr, currentValue As Variant, ByVal commandExecutionProperties As IUISimplePropertySet, returnValue As Long) 8 | [ Description ("Raised when a property is updated. key is a pointer to a PROPERTYKEY. If you set newValue, set bValid to True.") ] 9 | Public Event OnRibbonUpdateProperty(ByVal commandId As Long, ByVal key As LongPtr, currentValue As Variant, newValue As Variant, bSetNewValue As Boolean, returnValue As Long) 10 | 11 | Private Sub IUIApplication_OnViewChanged(ByVal viewId As Long, ByVal typeID As UI_VIEWTYPE, ByVal view As IUnknown, ByVal verb As UI_VIEWVERB, ByVal uReasonCode As Long) Implements IUIApplication.OnViewChanged 12 | Err.ReturnHResult = E_NOTIMPL 13 | End Sub 14 | 15 | Private Sub IUIApplication_OnDestroyUICommand(ByVal commandId As Long, ByVal typeID As UI_COMMANDTYPE, ByVal commandHandler As IUICommandHandler) Implements IUIApplication.OnDestroyUICommand 16 | End Sub 17 | 18 | Private Sub IUIApplication_OnCreateUICommand(ByVal commandId As Long, ByVal typeID As UI_COMMANDTYPE, commandHandler As IUICommandHandler) Implements IUIApplication.OnCreateUICommand 19 | Set commandHandler = Me 20 | End Sub 21 | 22 | 23 | Private Sub IUICommandHandler_Execute(ByVal commandId As Long, ByVal verb As UI_EXECUTIONVERB, key As PROPERTYKEY, currentValue As Variant, ByVal commandExecutionProperties As IUISimplePropertySet) Implements IUICommandHandler.Execute 24 | Dim hr As Long 25 | Dim pv As Variant 26 | If VarPtr(currentValue) <> 0 Then 27 | VariantCopy pv, currentValue 28 | End If 29 | RaiseEvent OnRibbonCmdExecute(commandId, verb, VarPtr(key), pv, commandExecutionProperties, hr) 30 | Err.ReturnHResult = hr 31 | End Sub 32 | 33 | Private Sub IUICommandHandler_UpdateProperty(ByVal commandId As Long, key As PROPERTYKEY, currentValue As Variant, newValue As Variant) Implements IUICommandHandler.UpdateProperty 34 | Dim hr As Long 35 | Dim pv As Variant 36 | Dim pnv As Variant 37 | Dim bValid As Boolean 38 | If VarPtr(currentValue) <> 0 Then 39 | VariantCopy pv, currentValue 40 | End If 41 | RaiseEvent OnRibbonUpdateProperty(commandId, VarPtr(key), pv, pnv, bValid, hr) 42 | If bValid Then 43 | VariantCopy newValue, pnv 44 | End If 45 | Err.ReturnHResult = hr 46 | End Sub 47 | 48 | 49 | 50 | End Class -------------------------------------------------------------------------------- /SourceExport-Basic/Form1.twin: -------------------------------------------------------------------------------- 1 | [Description("Windows UI Ribbon Framework Demo")] 2 | [FormDesignerId("6D393482-82F0-45C3-B441-A8093D57E3AB")] 3 | [PredeclaredId] 4 | Class Form1 5 | Private pFramework As UIRibbonFramework 6 | Private WithEvents pUIApp As clsRibbonEvents 7 | Private hLastExe As LongPtr 8 | 9 | Private Sub Form_Load() Handles Form.Load 10 | Set pFramework = New UIRibbonFramework 11 | Set pUIApp = New clsRibbonEvents 12 | pFramework.Initialize Me.hWnd, pUIApp 13 | If IsIDE() Then 14 | 'Attempt to load resources from last .exe 15 | If (App.LastBuildPath = "") Or (PathFileExists(App.LastBuildPath) = 0) Then 16 | MsgBox("To run from the IDE you must build first, or replace this routine with one loading a DLL containing your resources.", vbCritical + vbOKOnly, App.Title) 17 | Unload Me 18 | Else 19 | hLastExe = LoadLibraryEx(App.LastBuildPath, 0, LOAD_LIBRARY_AS_DATAFILE Or LOAD_LIBRARY_AS_IMAGE_RESOURCE) 20 | pFramework.LoadUI hLastExe, StrPtr("APPLICATION_RIBBON") 21 | End If 22 | Else 23 | pFramework.LoadUI GetModuleHandleW(), StrPtr("APPLICATION_RIBBON") 24 | End If 25 | End Sub 26 | 27 | Private Sub Form_Terminate() Handles Form.Terminate 28 | If pFramework IsNot Nothing Then pFramework.Destroy 29 | Set pFramework = Nothing 30 | Set pUIApp = Nothing 31 | If hLastExe Then FreeLibrary hLastExe 32 | End Sub 33 | 34 | Private Sub pUIApp_OnRibbonCmdExecute(ByVal commandId As Long, ByVal verb As UI_EXECUTIONVERB, ByVal key As LongPtr, currentValue As Variant, ByVal commandExecutionProperties As IUISimplePropertySet, returnValue As Long) Handles pUIApp.OnRibbonCmdExecute 35 | List1.AddItem "You clicked: CommandId=" & commandId & ", Verb=" & verb 36 | End Sub 37 | 38 | Private Sub Form_Resize() Handles Form.Resize 39 | InvalidateRect Me.hWnd, ByVal vbNullPtr, 0 40 | RedrawWindow Me.hWnd, ByVal vbNullPtr, 0, RDW_UPDATENOW 41 | Me.Refresh 42 | End Sub 43 | 44 | 45 | Private Function IsIDE() As Boolean 46 | ' On Error GoTo Out 47 | ' Debug.Print 1 / 0 48 | 'Out: 49 | ' IsIDE = Err 50 | 'IsIDE = gide 51 | Dim buff As String 52 | Dim Success As Long 53 | 54 | buff = Space$(MAX_PATH) 55 | Success = GetModuleFileName(App.hInstance, buff, Len(buff)) 56 | 57 | If Success > 0 Then 58 | 'Change the VB exe name here as appropriate 59 | 'for your version. The case change ensures this 60 | 'works regardless as to how the exe is cased on 61 | 'the machine. 62 | IsIDE = InStr(LCase$(buff), "twinbasic") > 0 63 | End If 64 | 65 | End Function 66 | 67 | 68 | End Class -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/ribbon.h: -------------------------------------------------------------------------------- 1 | // ***************************************************************************** 2 | // * This is an automatically generated header file for UI Element definition * 3 | // * resource symbols and values. Please do not modify manually. * 4 | // ***************************************************************************** 5 | 6 | #pragma once 7 | 8 | #define cmdTabHome 2 9 | #define cmdTabHome_LabelTitle_RESID 200 10 | #define cmdShapesGroup 3 11 | #define cmdShapesGroup_LabelTitle_RESID 210 12 | #define cmdBorderGroup 4 13 | #define cmdBorderGroup_LabelTitle_RESID 220 14 | #define cmdLayoutGroup 5 15 | #define cmdLayoutGroup_LabelTitle_RESID 230 16 | #define IDR_CMD_SHAPES 6 17 | #define IDR_CMD_SHAPES_LabelTitle_RESID 240 18 | #define IDR_CMD_SIZEANDCOLOR 7 19 | #define IDR_CMD_SIZEANDCOLOR_LabelTitle_RESID 250 20 | #define IDR_CMD_SIZEANDCOLOR_LargeImages_96__RESID 251 21 | #define IDR_CMD_SIZEANDCOLOR_LargeImages_120__RESID 252 22 | #define IDR_CMD_SIZEANDCOLOR_LargeImages_144__RESID 253 23 | #define IDR_CMD_SIZEANDCOLOR_LargeImages_192__RESID 254 24 | #define IDR_CMD_BORDERSTYLES 8 25 | #define IDR_CMD_BORDERSTYLES_LabelTitle_RESID 260 26 | #define IDR_CMD_BORDERSTYLES_LargeImages_96__RESID 261 27 | #define IDR_CMD_BORDERSTYLES_LargeImages_120__RESID 262 28 | #define IDR_CMD_BORDERSTYLES_LargeImages_144__RESID 263 29 | #define IDR_CMD_BORDERSTYLES_LargeImages_192__RESID 264 30 | #define IDR_CMD_BORDERSIZES 9 31 | #define IDR_CMD_BORDERSIZES_LabelTitle_RESID 270 32 | #define IDR_CMD_LAYOUTS 10 33 | #define IDR_CMD_LAYOUTS_LabelTitle_RESID 280 34 | #define IDR_CMD_SMALL 100 35 | #define IDR_CMD_SMALL_LabelTitle_RESID 290 36 | #define IDR_CMD_SMALL_LargeImages_96__RESID 291 37 | #define IDR_CMD_SMALL_LargeImages_120__RESID 292 38 | #define IDR_CMD_SMALL_LargeImages_144__RESID 293 39 | #define IDR_CMD_SMALL_LargeImages_192__RESID 294 40 | #define IDR_CMD_MEDIUM 101 41 | #define IDR_CMD_MEDIUM_LabelTitle_RESID 300 42 | #define IDR_CMD_MEDIUM_LargeImages_96__RESID 301 43 | #define IDR_CMD_MEDIUM_LargeImages_120__RESID 302 44 | #define IDR_CMD_MEDIUM_LargeImages_144__RESID 303 45 | #define IDR_CMD_MEDIUM_LargeImages_192__RESID 304 46 | #define IDR_CMD_LARGE 102 47 | #define IDR_CMD_LARGE_LabelTitle_RESID 310 48 | #define IDR_CMD_LARGE_LargeImages_96__RESID 311 49 | #define IDR_CMD_LARGE_LargeImages_120__RESID 312 50 | #define IDR_CMD_LARGE_LargeImages_144__RESID 313 51 | #define IDR_CMD_LARGE_LargeImages_192__RESID 314 52 | #define IDR_CMD_RED 103 53 | #define IDR_CMD_RED_LabelTitle_RESID 320 54 | #define IDR_CMD_RED_LargeImages_96__RESID 321 55 | #define IDR_CMD_RED_LargeImages_120__RESID 322 56 | #define IDR_CMD_RED_LargeImages_144__RESID 323 57 | #define IDR_CMD_RED_LargeImages_192__RESID 324 58 | #define IDR_CMD_GREEN 104 59 | #define IDR_CMD_GREEN_LabelTitle_RESID 330 60 | #define IDR_CMD_GREEN_LargeImages_96__RESID 331 61 | #define IDR_CMD_GREEN_LargeImages_120__RESID 332 62 | #define IDR_CMD_GREEN_LargeImages_144__RESID 333 63 | #define IDR_CMD_GREEN_LargeImages_192__RESID 334 64 | #define IDR_CMD_BLUE 105 65 | #define IDR_CMD_BLUE_LabelTitle_RESID 340 66 | #define IDR_CMD_BLUE_LargeImages_96__RESID 341 67 | #define IDR_CMD_BLUE_LargeImages_120__RESID 342 68 | #define IDR_CMD_BLUE_LargeImages_144__RESID 343 69 | #define IDR_CMD_BLUE_LargeImages_192__RESID 344 70 | #define IDC_RIBBONHELP 57664 71 | #define InternalCmd2_LabelTitle_RESID 60001 72 | -------------------------------------------------------------------------------- /ribbon.rc: -------------------------------------------------------------------------------- 1 | // ****************************************************************************** 2 | // * This is an automatically generated file containing the ribbon resource for * 3 | // * your application. * 4 | // ****************************************************************************** 5 | 6 | #include ".\ribbon.h" 7 | 8 | STRINGTABLE 9 | BEGIN 10 | IDC_CMD_TAB1_LabelTitle_RESID L"Tab 1" /* LabelTitle IDC_CMD_TAB1_LabelTitle_RESID: These comments are optional and are inserted into the header file. */ 11 | END 12 | 13 | cmdGroup1_SmallImages_RESID BITMAP "res\\Button_Image.bmp" /* SmallImages cmdGroup1_SmallImages_RESID: (null) */ 14 | STRINGTABLE 15 | BEGIN 16 | cmdButton1_LabelTitle_RESID L"Button 1" /* LabelTitle cmdButton1_LabelTitle_RESID: (null) */ 17 | END 18 | 19 | cmdButton1_SmallImages_RESID BITMAP "res\\AddTableS.bmp" /* SmallImages cmdButton1_SmallImages_RESID: (null) */ 20 | cmdButton1_LargeImages_RESID BITMAP "res\\AddTableL.bmp" /* LargeImages cmdButton1_LargeImages_RESID: (null) */ 21 | STRINGTABLE 22 | BEGIN 23 | cmdButton2_LabelTitle_RESID L"Button 2" /* LabelTitle cmdButton2_LabelTitle_RESID: (null) */ 24 | END 25 | 26 | cmdButton2_SmallImages_RESID BITMAP "res\\DeleteTableS.bmp" /* SmallImages cmdButton2_SmallImages_RESID: (null) */ 27 | cmdButton2_LargeImages_RESID BITMAP "res\\DeleteTableL.bmp" /* LargeImages cmdButton2_LargeImages_RESID: (null) */ 28 | STRINGTABLE 29 | BEGIN 30 | cmdButton3_LabelTitle_RESID L"Button 3" /* LabelTitle cmdButton3_LabelTitle_RESID: (null) */ 31 | END 32 | 33 | cmdButton3_SmallImages_RESID BITMAP "res\\PrintRelationshipsS.bmp" /* SmallImages cmdButton3_SmallImages_RESID: (null) */ 34 | cmdButton3_LargeImages_RESID BITMAP "res\\PrintRelationshipsL.bmp" /* LargeImages cmdButton3_LargeImages_RESID: (null) */ 35 | STRINGTABLE 36 | BEGIN 37 | cmdButton4_LabelTitle_RESID L"Button 4" /* LabelTitle cmdButton4_LabelTitle_RESID: (null) */ 38 | END 39 | 40 | cmdButton4_SmallImages_RESID BITMAP "res\\AddTableS.bmp" /* SmallImages cmdButton4_SmallImages_RESID: (null) */ 41 | cmdButton4_LargeImages_RESID BITMAP "res\\AddTableL.bmp" /* LargeImages cmdButton4_LargeImages_RESID: (null) */ 42 | STRINGTABLE 43 | BEGIN 44 | cmdButton5_LabelTitle_RESID L"Button 5" /* LabelTitle cmdButton5_LabelTitle_RESID: (null) */ 45 | END 46 | 47 | cmdButton5_SmallImages_RESID BITMAP "res\\Cut.bmp" /* SmallImages cmdButton5_SmallImages_RESID: (null) */ 48 | STRINGTABLE 49 | BEGIN 50 | cmdToggleButton1_LabelTitle_RESID L"ToggleButton 1" /* LabelTitle cmdToggleButton1_LabelTitle_RESID: (null) */ 51 | END 52 | 53 | cmdToggleButton1_SmallImages_RESID BITMAP "res\\AddTableS.bmp" /* SmallImages cmdToggleButton1_SmallImages_RESID: (null) */ 54 | cmdToggleButton1_LargeImages_RESID BITMAP "res\\AddTableL.bmp" /* LargeImages cmdToggleButton1_LargeImages_RESID: (null) */ 55 | STRINGTABLE 56 | BEGIN 57 | cmdToggleButton2_LabelTitle_RESID L"ToggleButton 2" /* LabelTitle cmdToggleButton2_LabelTitle_RESID: (null) */ 58 | END 59 | 60 | cmdToggleButton2_SmallImages_RESID BITMAP "res\\Copy.bmp" /* SmallImages cmdToggleButton2_SmallImages_RESID: (null) */ 61 | STRINGTABLE 62 | BEGIN 63 | cmdMRUList_LabelTitle_RESID L"MRU List" /* LabelTitle cmdMRUList_LabelTitle_RESID: (null) */ 64 | END 65 | 66 | STRINGTABLE 67 | BEGIN 68 | IDC_CMD_EXIT_LabelTitle_RESID L"Exit Button" /* LabelTitle IDC_CMD_EXIT_LabelTitle_RESID: (null) */ 69 | END 70 | 71 | IDC_CMD_EXIT_LargeImages_RESID BITMAP "res\\ExitL.bmp" /* LargeImages IDC_CMD_EXIT_LargeImages_RESID: (null) */ 72 | APPLICATION_RIBBON UIFILE "ribbon.bml" 73 | -------------------------------------------------------------------------------- /UIRibbonDemoSGallery/ribbon.rc: -------------------------------------------------------------------------------- 1 | // ****************************************************************************** 2 | // * This is an automatically generated file containing the ribbon resource for * 3 | // * your application. * 4 | // ****************************************************************************** 5 | 6 | #include ".\ribbon.h" 7 | 8 | STRINGTABLE 9 | BEGIN 10 | cmdTabHome_LabelTitle_RESID L"Home" /* LabelTitle cmdTabHome_LabelTitle_RESID: (null) */ 11 | END 12 | 13 | STRINGTABLE 14 | BEGIN 15 | cmdShapesGroup_LabelTitle_RESID L"Shape" /* LabelTitle cmdShapesGroup_LabelTitle_RESID: (null) */ 16 | END 17 | 18 | STRINGTABLE 19 | BEGIN 20 | cmdBorderGroup_LabelTitle_RESID L"Border" /* LabelTitle cmdBorderGroup_LabelTitle_RESID: (null) */ 21 | END 22 | 23 | STRINGTABLE 24 | BEGIN 25 | cmdLayoutGroup_LabelTitle_RESID L"Border" /* LabelTitle cmdLayoutGroup_LabelTitle_RESID: (null) */ 26 | END 27 | 28 | STRINGTABLE 29 | BEGIN 30 | IDR_CMD_SHAPES_LabelTitle_RESID L"Shapes" /* LabelTitle IDR_CMD_SHAPES_LabelTitle_RESID: (null) */ 31 | END 32 | 33 | STRINGTABLE 34 | BEGIN 35 | IDR_CMD_SIZEANDCOLOR_LabelTitle_RESID L"Size and Color" /* LabelTitle IDR_CMD_SIZEANDCOLOR_LabelTitle_RESID: (null) */ 36 | END 37 | 38 | IDR_CMD_SIZEANDCOLOR_LargeImages_96__RESID BITMAP "res\\sizeAndColor_96.bmp" /* LargeImages IDR_CMD_SIZEANDCOLOR_LargeImages_96__RESID: (null) */ 39 | IDR_CMD_SIZEANDCOLOR_LargeImages_120__RESID BITMAP "res\\sizeAndColor_120.bmp" /* LargeImages IDR_CMD_SIZEANDCOLOR_LargeImages_120__RESID: (null) */ 40 | IDR_CMD_SIZEANDCOLOR_LargeImages_144__RESID BITMAP "res\\sizeAndColor_144.bmp" /* LargeImages IDR_CMD_SIZEANDCOLOR_LargeImages_144__RESID: (null) */ 41 | IDR_CMD_SIZEANDCOLOR_LargeImages_192__RESID BITMAP "res\\sizeAndColor_192.bmp" /* LargeImages IDR_CMD_SIZEANDCOLOR_LargeImages_192__RESID: (null) */ 42 | STRINGTABLE 43 | BEGIN 44 | IDR_CMD_BORDERSTYLES_LabelTitle_RESID L"Style" /* LabelTitle IDR_CMD_BORDERSTYLES_LabelTitle_RESID: (null) */ 45 | END 46 | 47 | IDR_CMD_BORDERSTYLES_LargeImages_96__RESID BITMAP "res\\solidBorder_96.bmp" /* LargeImages IDR_CMD_BORDERSTYLES_LargeImages_96__RESID: (null) */ 48 | IDR_CMD_BORDERSTYLES_LargeImages_120__RESID BITMAP "res\\solidBorder_120.bmp" /* LargeImages IDR_CMD_BORDERSTYLES_LargeImages_120__RESID: (null) */ 49 | IDR_CMD_BORDERSTYLES_LargeImages_144__RESID BITMAP "res\\solidBorder_144.bmp" /* LargeImages IDR_CMD_BORDERSTYLES_LargeImages_144__RESID: (null) */ 50 | IDR_CMD_BORDERSTYLES_LargeImages_192__RESID BITMAP "res\\solidBorder_192.bmp" /* LargeImages IDR_CMD_BORDERSTYLES_LargeImages_192__RESID: (null) */ 51 | STRINGTABLE 52 | BEGIN 53 | IDR_CMD_BORDERSIZES_LabelTitle_RESID L"Size" /* LabelTitle IDR_CMD_BORDERSIZES_LabelTitle_RESID: (null) */ 54 | END 55 | 56 | STRINGTABLE 57 | BEGIN 58 | IDR_CMD_LAYOUTS_LabelTitle_RESID L"Grid Size" /* LabelTitle IDR_CMD_LAYOUTS_LabelTitle_RESID: (null) */ 59 | END 60 | 61 | STRINGTABLE 62 | BEGIN 63 | IDR_CMD_SMALL_LabelTitle_RESID L"Small" /* LabelTitle IDR_CMD_SMALL_LabelTitle_RESID: (null) */ 64 | END 65 | 66 | IDR_CMD_SMALL_LargeImages_96__RESID BITMAP "res\\small_96.bmp" /* LargeImages IDR_CMD_SMALL_LargeImages_96__RESID: (null) */ 67 | IDR_CMD_SMALL_LargeImages_120__RESID BITMAP "res\\small_120.bmp" /* LargeImages IDR_CMD_SMALL_LargeImages_120__RESID: (null) */ 68 | IDR_CMD_SMALL_LargeImages_144__RESID BITMAP "res\\small_144.bmp" /* LargeImages IDR_CMD_SMALL_LargeImages_144__RESID: (null) */ 69 | IDR_CMD_SMALL_LargeImages_192__RESID BITMAP "res\\small_192.bmp" /* LargeImages IDR_CMD_SMALL_LargeImages_192__RESID: (null) */ 70 | STRINGTABLE 71 | BEGIN 72 | IDR_CMD_MEDIUM_LabelTitle_RESID L"Medium" /* LabelTitle IDR_CMD_MEDIUM_LabelTitle_RESID: (null) */ 73 | END 74 | 75 | IDR_CMD_MEDIUM_LargeImages_96__RESID BITMAP "res\\medium_96.bmp" /* LargeImages IDR_CMD_MEDIUM_LargeImages_96__RESID: (null) */ 76 | IDR_CMD_MEDIUM_LargeImages_120__RESID BITMAP "res\\medium_120.bmp" /* LargeImages IDR_CMD_MEDIUM_LargeImages_120__RESID: (null) */ 77 | IDR_CMD_MEDIUM_LargeImages_144__RESID BITMAP "res\\medium_144.bmp" /* LargeImages IDR_CMD_MEDIUM_LargeImages_144__RESID: (null) */ 78 | IDR_CMD_MEDIUM_LargeImages_192__RESID BITMAP "res\\medium_192.bmp" /* LargeImages IDR_CMD_MEDIUM_LargeImages_192__RESID: (null) */ 79 | STRINGTABLE 80 | BEGIN 81 | IDR_CMD_LARGE_LabelTitle_RESID L"Large" /* LabelTitle IDR_CMD_LARGE_LabelTitle_RESID: (null) */ 82 | END 83 | 84 | IDR_CMD_LARGE_LargeImages_96__RESID BITMAP "res\\large_96.bmp" /* LargeImages IDR_CMD_LARGE_LargeImages_96__RESID: (null) */ 85 | IDR_CMD_LARGE_LargeImages_120__RESID BITMAP "res\\large_120.bmp" /* LargeImages IDR_CMD_LARGE_LargeImages_120__RESID: (null) */ 86 | IDR_CMD_LARGE_LargeImages_144__RESID BITMAP "res\\large_144.bmp" /* LargeImages IDR_CMD_LARGE_LargeImages_144__RESID: (null) */ 87 | IDR_CMD_LARGE_LargeImages_192__RESID BITMAP "res\\large_192.bmp" /* LargeImages IDR_CMD_LARGE_LargeImages_192__RESID: (null) */ 88 | STRINGTABLE 89 | BEGIN 90 | IDR_CMD_RED_LabelTitle_RESID L"Red" /* LabelTitle IDR_CMD_RED_LabelTitle_RESID: (null) */ 91 | END 92 | 93 | IDR_CMD_RED_LargeImages_96__RESID BITMAP "res\\red_96.bmp" /* LargeImages IDR_CMD_RED_LargeImages_96__RESID: (null) */ 94 | IDR_CMD_RED_LargeImages_120__RESID BITMAP "res\\red_120.bmp" /* LargeImages IDR_CMD_RED_LargeImages_120__RESID: (null) */ 95 | IDR_CMD_RED_LargeImages_144__RESID BITMAP "res\\red_144.bmp" /* LargeImages IDR_CMD_RED_LargeImages_144__RESID: (null) */ 96 | IDR_CMD_RED_LargeImages_192__RESID BITMAP "res\\red_192.bmp" /* LargeImages IDR_CMD_RED_LargeImages_192__RESID: (null) */ 97 | STRINGTABLE 98 | BEGIN 99 | IDR_CMD_GREEN_LabelTitle_RESID L"Green" /* LabelTitle IDR_CMD_GREEN_LabelTitle_RESID: (null) */ 100 | END 101 | 102 | IDR_CMD_GREEN_LargeImages_96__RESID BITMAP "res\\green_96.bmp" /* LargeImages IDR_CMD_GREEN_LargeImages_96__RESID: (null) */ 103 | IDR_CMD_GREEN_LargeImages_120__RESID BITMAP "res\\green_120.bmp" /* LargeImages IDR_CMD_GREEN_LargeImages_120__RESID: (null) */ 104 | IDR_CMD_GREEN_LargeImages_144__RESID BITMAP "res\\green_144.bmp" /* LargeImages IDR_CMD_GREEN_LargeImages_144__RESID: (null) */ 105 | IDR_CMD_GREEN_LargeImages_192__RESID BITMAP "res\\green_192.bmp" /* LargeImages IDR_CMD_GREEN_LargeImages_192__RESID: (null) */ 106 | STRINGTABLE 107 | BEGIN 108 | IDR_CMD_BLUE_LabelTitle_RESID L"Blue" /* LabelTitle IDR_CMD_BLUE_LabelTitle_RESID: (null) */ 109 | END 110 | 111 | IDR_CMD_BLUE_LargeImages_96__RESID BITMAP "res\\blue_96.bmp" /* LargeImages IDR_CMD_BLUE_LargeImages_96__RESID: (null) */ 112 | IDR_CMD_BLUE_LargeImages_120__RESID BITMAP "res\\blue_120.bmp" /* LargeImages IDR_CMD_BLUE_LargeImages_120__RESID: (null) */ 113 | IDR_CMD_BLUE_LargeImages_144__RESID BITMAP "res\\blue_144.bmp" /* LargeImages IDR_CMD_BLUE_LargeImages_144__RESID: (null) */ 114 | IDR_CMD_BLUE_LargeImages_192__RESID BITMAP "res\\blue_192.bmp" /* LargeImages IDR_CMD_BLUE_LargeImages_192__RESID: (null) */ 115 | STRINGTABLE 116 | BEGIN 117 | InternalCmd2_LabelTitle_RESID L"Label:InternalCmd2" /* LabelTitle InternalCmd2_LabelTitle_RESID: (null) */ 118 | END 119 | 120 | APPLICATION_RIBBON UIFILE "ribbon.bml" 121 | -------------------------------------------------------------------------------- /ribbon.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | 12 | 13 | 14 | 15 | 16 | 20 | 21 | Tab 1 22 | 23 | 24 | 27 | 28 | 30 | 31 | res/Button_Image.bmp 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | Button 1 40 | 41 | 43 | 44 | res/AddTableL.bmp 45 | 46 | 47 | res/AddTableS.bmp 48 | 49 | 50 | 51 | 52 | Button 2 53 | 54 | 55 | res/DeleteTableL.bmp 56 | 57 | 58 | res/DeleteTableS.bmp 59 | 60 | 61 | 62 | 63 | Button 3 64 | 65 | 66 | res/PrintRelationshipsL.bmp 67 | 68 | 69 | res/PrintRelationshipsS.bmp 70 | 71 | 72 | 73 | 74 | Button 4 75 | 76 | 77 | res/AddTableL.bmp 78 | 79 | 80 | res/AddTableS.bmp 81 | 82 | 83 | 84 | 85 | Button 5 86 | 87 | 88 | res/Cut.bmp 89 | 90 | 91 | 92 | 93 | 94 | ToggleButton 1 95 | 96 | 97 | res/AddTableL.bmp 98 | 99 | 100 | res/AddTableS.bmp 101 | 102 | 103 | 104 | 105 | ToggleButton 2 106 | 107 | 108 | res/Copy.bmp 109 | 110 | 111 | 112 | 113 | 114 | 115 | MRU List 116 | 117 | 118 | 119 | 120 | Exit Button 121 | 122 | 123 | res/ExitL.bmp 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 |