Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
KevinFournier
About
- Username
- KevinFournier
- Joined
- Visits
- 2,233
- Last Active
- Roles
- Administrator
Comments
-
Sorry for all my whining yesterday. I took it like a man and updated the Panel control. Version 3.2.1 RC3 of the SRPControls.ocx can be downloaded here. A new event called OnParentClosing has been added. This fires only when the user tries to close…
-
Don, I am using the DestroyWindow API. The reason is because I have do get rid of the window after the user clicks the X button but before the parent form knows it's closing. Otherwise, the WM_CLOSE message is sent to the embedded form instead. If …
-
I'm sorry for not replying sooner. I wasn't getting email notifications and this dropped off my radar. The issue is that the Panel has to force-destroy the embedded forms when the parent form is closing. This was necessary because embedded forms wo…
-
Mark, This... is... awesome. So, when you first proposed the idea, I envisioned very simple controls, but this makes total sense. Really, this shortcut control is conceptually a form unto itself anyway. The Panel control allows you to drop it in m…
-
I suppose this theoretically doable, but this only makes (some) sense to me if you created a re-usable control that is composed of several more controls. To have a panel with a single control doesn't make much sense to me since you could acheive the…
-
Mark, No traction yet. The current work around is to pull out those embedded forms and close them yourself first. I want to resolve this, but I have a huge fire I'm trying to put out this week.
-
I know I wrote some code to deal with this issue, for it was brought up for both the Ribbon and Panel controls during the Ribbon's beta. If you are not already testing with the latest prelease (version 3.2 RC15), then please download it form here an…
-
Please download a beta build of either SRPControls.ocx if you have a Pro license or SRPPanel.ocx. Let me know if it fixes your MouseEnter/Exit woes.
-
I see. I better understand your situation now. The issue is that the Panel's event fires an exit event even when you hover over one of it's children. Yes. this is MS behavior, but it might be something I can mitigate. I'll add it to my to-do list an…
-
Mouse exit is definitely one of this things that can give you more events than you wanted. Our MouseExit event is really just an extension of Windows' WM_MOUSELEAVE message, so yes, the overzealousness stems from Microsoft's implementation. In other…
-
My apologies. I completely forgot that there was a destroy parameter. It is amazing how difficult it is to remember my own code. It's possible that the letting RemoveForm destroy the window for you is causing OI's Presentation Server to not be not…
-
RemoveForm only removes the form from the panel, but it does not close the window. Have you tried calling Close_Window on the form after calling RemoveForm?
-
Colin, When you call SetForm, are you setting both the FitWidth and FitHeight parameters to 1? If so, then the panel is doing what it's supposed to (simply resizing the OI form for fit within the panel), but it is relying on OI to resize the contro…
-
I might actually be able to add this in the next release since I am in the process on revamping the mouse handling logic as we speak. In the meantime, you can consider Don's suggestion above. Just so it's said out loud, that menu is incredible! Gre…
-
SRP Panel Control 2.0.2 and SRP Controls Pro 3.0.6 are now available for download. The update includes the new RemoveCtrls method.
-
There is a new release for the controls coming within the next day or two, and that update includes a RemovCtrls method for the SRP Panel Control. I'll let you know when the download is available.
-
My sincere apologies. I dropped the ball on this. I can't recreate it using SRPControls.ocx 3.2. In my test, I have the Ribbon on an MDI frame, and I load two existing forms into the Backstage. When I close the frame, everything closes as expected.…
-
Replied to other post. I'll keep the conversion going there so it's all in one place.
-
You can now download step-by-step instructions on how to force 32-bit color depth on Win 2008 Terminal Server here.
-
After a lot of work, we think we have the issue narrowed down. You need your Terminal Server to run in 32-bit color depth for the ribbon to render correctly. This has to do with how tightly coupled the WinAPI's image routines are to the device's cap…
-
The SRP Controls are all ActiveX controls written in Visual C++.
-
Download 3.2.1 RC1 (here) and see if that works better for you.
-
I dropped the ball on this issue as well, it seems. Please forgive me. I am able to recreate the issue and will look into a fix today.
-
The latest build is 3.2 RC6. Try downloading and registering it again.
-
Colin, I emailed you a link.
-
No worries. I actually spent today working on this and think I have it all corrected. There's a lot of code that tries to undo what OI does automatically when the form's caption and border metrics are altered. I'll let you know when a new beta build…
-
Some clarification questions: What version of OI? Does this only happens in the Form Designer, at Runtime, or both?
-
What do you mean by "add a Smallicon to the backstage"? In my test, if I specify both LargeIcon and SmallIcon in the SAVEITEM command, then the small one is used in the backstage.
SmallIcon=".\Bmps\Ribbo… -
Does this work?
Whenever a command is "spotted" in the XML, it becomes available to reference anywhere else below that. So, assuming you are creating the backstage button second, you should be able to just … -
Does it help to set the ribbon's redraw property 0 before setting all these properties and then setting it back to 1 afterwards?