Prevent Ribbon mini/maximizing by DblClck

Discussion forum about all things Team Developer 5.x and 6.x
klaushaidinger
Austria
Posts: 108
Joined: 13 Dec 2017, 06:08
Location: Austria

Prevent Ribbon mini/maximizing by DblClck

Post by klaushaidinger » 21 Jan 2020, 11:43

Hi!
In my application i use Menus displayed as Ribbons (bMenuBarAsRibbonBar=TRUE).
Is it possible to prevent the standard behavior when (mostly accidentally) double clicked the ribbon (-> gets minimized) ?

Thank you for any tips!

User avatar
Charlie
Canada
Posts: 637
Joined: 07 Mar 2017, 18:52
Location: Fredericton, New Brunswick, Canada

Re: Prevent Ribbon mini/maximizing by DblClck

Post by Charlie » 21 Jan 2020, 15:14

G'day,

I can't take credit for this. (I got this from somebody else in some other post, and I'm too busy right now to properly heap the deserved praise!)

Code: Select all

On SAM_RibbonShow
	Return FALSE
Cheers and best regards !

klaushaidinger
Austria
Posts: 108
Joined: 13 Dec 2017, 06:08
Location: Austria

Re: Prevent Ribbon mini/maximizing by DblClck

Post by klaushaidinger » 28 Jan 2020, 13:31

Thank you Charlie - it worked!

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests