IonicWind Software

IWBasic => GUI Central => Topic started by: RitchieF on May 03, 2013, 10:36:47 AM

Title: Toolbar Open file bmp with MRU part
Post by: RitchieF on May 03, 2013, 10:36:47 AM
How do build such a toolbar element ?
How to find the mouse position within this toolbar element to switch between the open file part and the MRU list part of the bmp?

Thanks

Richard
Title: Re: Toolbar Open file bmp with MRU part
Post by: aurelCB on May 03, 2013, 12:10:29 PM
What is MRU  ???
Title: Re: Toolbar Open file bmp with MRU part
Post by: RitchieF on May 03, 2013, 02:38:53 PM
I mean the Most Recently Used file list which appears if you hover the mouse over the little black triangle on the right side of the Open Icon

-Rich
Title: Re: Toolbar Open file bmp with MRU part
Post by: LarryMc on May 03, 2013, 02:44:12 PM
Quote from: RitchieF on May 03, 2013, 02:38:53 PM
I mean the Most Recently Used file list which appears if you hover the mouse over the little black triangle on the right side of the Open Icon

-Rich
Post a screenshot of what you are talking about.
Title: Re: Toolbar Open file bmp with MRU part
Post by: RitchieF on May 03, 2013, 02:51:16 PM
Here it is . Clicking on the left side brings up a file open dialog, clicking the black triangle shows the most recently used files to select

Richard
Title: Re: Toolbar Open file bmp with MRU part
Post by: LarryMc on May 03, 2013, 04:04:51 PM
As far as I know those type of menus are built using .NET and any computer you run that application on has to have the NET foundation classes installed.
I have no idea how to build those type of menus or if is possible without all that NET stuff.

Maybe someone else knows more.
Title: Re: Toolbar Open file bmp with MRU part
Post by: LarryMc on May 04, 2013, 05:59:51 AM
I did a little digging.

The type of menus you are talking about are part of the
Ribbon UI which is a COM object

More info and the API is here:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd316910(v=vs.85).aspx
Title: Re: Toolbar Open file bmp with MRU part
Post by: RitchieF on May 04, 2013, 06:12:22 AM
Thanks Larry,

try to understand how to use it  ;D

Richard