| |
|
|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
|
Subject |
Author |
Date |
|
|
Richard Rodruck
|
May 9, 2008 - 11:41 AM
|
Is there a way to use the Prof-UIS liabrary with the new MFC feature pack? Particularly the CMDIFrameWndEx class. If I use that the control bars do not show. Otherwise they seem to be able to work together. I would like to use both libraries.
|
|
|
Gregory Johnson
|
May 7, 2008 - 12:35 PM
|
I have a command associated with a toggle button. The command performs functions based on the pressed property state of the button. However, when the button is pressed the command is not executed.
|
|
|
Technical Support
|
May 7, 2008 - 3:05 PM
|
When you click a toggle button, a Command.DataChanged event occurs. So you should use this event instead.
|
|
|
Brian Adams
|
May 6, 2008 - 8:10 AM
|
I’m getting a NotSupportedException when I press the Alt key. The stack trace is below. It appears that the Ribbon is calling a property that isn’t supported on Windows Server 2000. I’m using version 2.2.0.0. What is my best course of action (and upgrading to Windows Server 2003 isn’t an option right now)? Thanks!
Brian System.NotSupportedException: Feature not supported with this operating system.
at System.Windows.Forms.SystemInformation.get_FontSmoothingType()
at Elegant.Ui.KeyTip.GetPreferredTextSize()
at Elegant.Ui.KeyTip.GetPreferredSize(Size proposedSize)
at Elegant.Ui.RibbonTab.KeyTipPlacementRoutine(KeyTip keyTip)
at Elegant.Ui.KeyTipForm.UpdateKeyTips()
at Elegant.Ui.KeyTipEngine.Activate(Boolean activate, Int32 keyCode)
at Elegant.Ui.KeyTipEngine.Elegant.Ui.IInputSpyListener.OnInputSpyKeyUp(InputSpyKeyEventArgs e)
at Elegant.Ui.InputSpy.KeyboardHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Practices.CompositeUI.WinForms.FormShellApplication`2.Start()
at ApplicationHost.ApplicationHostApplication.Start() in D:\Programming\HPAS\ApplicationHost.root\ApplicationHost\ApplicationHost\ApplicationHostApplication.cs:line 216
at Microsoft.Practices.CompositeUI.CabApplication`1.Run()
at ApplicationHost.ApplicationHostApplication.RunInReleaseMode(String[] Args) in D:\Programming\HPAS\ApplicationHost.root\ApplicationHost\ApplicationHost\ApplicationHostApplication.cs:line 94
at ApplicationHost.ApplicationHostApplication.Main(String[] Args) in D:\Programming\HPAS\ApplicationHost.root\ApplicationHost\ApplicationHost\ApplicationHostApplication.cs:line 63
|
|
|
Technical Support
|
May 6, 2008 - 11:04 AM
|
Thank you for reporting the bug. We have just fixed it. The fix will be available in the next release which is planned for the end of May. You can workaround this at the moment by turning the key tips off at all. Just set the KeyTipEngine.Enabled property to false.
|
|
|
Muhammet Sivri
|
Apr 30, 2008 - 4:59 PM
|
I’m currently using your trial version of the Ribbon Control and got an error while showing a dialog and right clicking on the form with the ribbon control. The Source: "Elegant.Ui.Ribbon" The Message: "Object reference not set to an instance of an object." Here is the stack trace: at Elegant.Ui.Ribbon.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.Ribbon.RibbonInputSpyListener.Elegant.Ui.IInputSpyMouseListener.OnInputSpyMouseUp(InputSpyMouseEventArgs e)
at Elegant.Ui.InputSpy.NotifyAboutMouseUpEvent(IInputSpyMouseListener[] listeners, MouseButtons buttons, Int32 x, Int32 y, IntPtr hwnd)
at Elegant.Ui.InputSpy.MouseHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at ProjectMage.ProjectMageForm.ProjectMageForm_Load(Object sender, EventArgs e) in C:\[project path]\ProjectMage.cs:line 41
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m) < | |