Codejock ToolkitPro and SuitePro v24.0.0 |
Post Reply |
Author | |||||
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 302 |
Post Options
Thanks(2)
Posted: 06 May 2024 at 7:51am |
||||
Codejock ToolkitPro and SuitePro v24.0.0 released!
It's been a long-awaited update, and finally, it's here with a host of exciting new features and long-requested fixes! This release is particularly special as it introduces two outstanding features that the Codejock community has been anticipating for many years: complete SVG support and the new Gauge control! Alongside these two fantastic additions are numerous other enhancements and improvements. Full SVG support Complete SVG support has finally been added to both Toolkit Pro and Suite Pro. Yes, that means our users can now enjoy scalable and easy-to-manage SVG icons in CommandBars, Ribbon, and other controls. Additionally, SVG images can be previewed in the Preview control, used in Markup, image managers, and loaded and drawn using a dedicated CXTPSvgImage class (Toolkit Pro only). The new Gauge control We're opening a new chapter in Codejock's history by introducing a framework for creating and using professional gauges to express complex measurements in simple, attractive, and highly customizable forms. Built entirely in Markup and JavaScript, the Gauge control allows for the creation and extension of multi-dimensional gauges where almost every visual element can be configured or animated to meet the most demanding business needs. The initial implementation allows for analogue meter gauges of up to five dimensions, a digital screen of up to five dimensions, and a state-reflecting gauge for an unlimited number of states. You can find the main FAQ article on it here: Link to the FAQ Windows 11 theme Make your application look modern and consistent on all supported OS versions using the new Windows 11 theme, available in Light and Dark color schemes. Title menu bar A window’s menu can now be placed straight onto the title bar to have a more compact UI and thus leave more precious screen space for the workspace! And More... Many other smaller yet important additions and fixes are included:
We'd love to hear your feedback about this release, and we're grateful in advance for you sharing your thoughts with us. Please refer to our release notes for this version on our website https://codejock.com/products/releasenotes/release_notes.asp |
|||||
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
||||
Cool, thanks.
1) I can't seem to be able to run any samples in 64 bit configuration though, it complains that the manifest is incorrect (I only build x64+Unicode). I see that "...\Samples\Common\res\app.manifest" processorArchitecture is set to x86: <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity> Changing processorArchitecture="x86" to processorArchitecture="*" seems to do the trick. 2) Regarding the Guage, I could not make the sample run, it crashes immediately at startup loading the gauge. It crashes on line 800 in XTGaugeBaseType: vtInput and vtShutdown is empty for me. if (NULL != vtInput.pdispVal) { m_pDispInput = vtInput.pdispVal; m_pDispInput->AddRef(); } if (NULL != vtShutdown.pdispVal) { m_pDispShutdown = vtShutdown.pdispVal; m_pDispShutdown->AddRef(); |
|||||
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|||||
DavidH
Groupie Joined: 24 March 2007 Status: Offline Points: 59 |
Post Options
Thanks(0)
|
||||
XAML with MatrixTransform still doesn't work. Look here for a fix I applied on an earlier release:
|
|||||
itsmg
Groupie Joined: 10 September 2009 Status: Offline Points: 45 |
Post Options
Thanks(0)
|
||||
FlatEdit (Appearance = NativeWindows11) in Windows 11 environment still does not have the same theme as the TextBox native control |
|||||
Product: Xtreme SuitePro (ActiveX) version 20.1.0 (unicode)
Platform: Windows 11 (64bit) Language: Visual Basic 6.0 |
|||||
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
||||
Another comment:
I have a grid control with markup enabled with custom group captions. Moving the mouse over the group caption now gives an assert, complaining that pElement is NULL.
I add items like this to avoid the text "Group :" being prepended to the group name:
If I change the caption to "<TextBlock>Caption</TextBlock>" the assert goes away, but that causes my custom sorting to break (which of course can be fixed - but won't do anything until proper release), I then also have an exception thrown when shutting down my application in CXTPSkinManager::CbtFilterHook, where it calls pSkinManager->SetHook(hWnd, szClassName, lpcs, TRUE); This comes from the destructor of CXTPCommandBar where it calls XTPHookManager()->RemoveAll(this); Need to check more why this happens. |
|||||
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|||||
matsjansson
Groupie Joined: 09 May 2023 Location: Solna Status: Offline Points: 17 |
Post Options
Thanks(0)
|
||||
At the end it says:
"We'll be happy to hear all feedback from you about this release and we're grateful in advance for sharing your thoughts with us" What is the best way to supply this feedback? Eg I have been using a function/feature in 22.1 that does not exist anymore. The function is CXTPCalendarUtils::SetUseResourceFileLocale(TRUE); And I have reported a bug earlier that is said to be fixed, but it is not in beta 1. So what way is the best to give feedback and ask questions like these? Best regards Mats
|
|||||
fleg
Groupie Joined: 11 July 2012 Status: Offline Points: 45 |
Post Options
Thanks(0)
|
||||
Hi, Are the sample application available somewhere for version 24 Beta (without need to build them)? download section only provides for stable version 22.1 (which makes sens) and account download only shows the installer and help, but no sample, as usual.
|
|||||
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
|
||||
Another thing:
Previously (in v22) I have been able to open context menu using
This crashes in 24 beta 1 due to GetPaintManager returns nullptr in the call to CXTPPopupBar::UpdateLocation.
Don't know whether my approach is correct way to display a context menu, but I have 50+ context menus that crashes with the 24 beta 1 version. (I assume it's best/easiest to report findings here? I don't mind if this complete thread is deleted once the released version is out) |
|||||
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|||||
essess
Newbie Joined: 25 June 2023 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
||||
Similar issue here upgrading from 19.3.0 to 24.0 Beta 1 I get a crash with the exception:
XTPCommandBars.cpp:
|
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello,
I'm glad to inform you that the issue has been addressed and fixed. The fix will be available in the next beta or final release. As hotfi you can to chage line if (GetCommandBars()->GetPaintManager()->IsPopupRoundedCorners(pt)) Regards, Artem Gontarenko |
|||||
asparagusx
Groupie Joined: 06 February 2007 Status: Offline Points: 53 |
Post Options
Thanks(0)
|
||||
Hallo
Having exactly the same issues as stated here. Downloaded the beta on 24/05/2024. Anton
|
|||||
rdmeyers
Groupie Joined: 11 December 2008 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
||||
It would be extremely helpful if the WebBrowser passed on the standard Mouse notifications, such as MouseDown, MouseUp, etc. Relying on BeforeNavigate2 to intercept user interaction is unreliable at best. Passing on the standard Keyboard notifications, such as KeyDown would also be beneficial. And why does the control not expose the basic hWnd handle??? Y'all have given us nothing to use to build upon this otherwise wonderful control!
|
|||||
rdmeyers
Groupie Joined: 11 December 2008 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
||||
I cannot get ExecuteScript to function at all. Even your sample will not give the desired result. What is the trick to using this method? The Help file is not helpful as it has no information on this method.
|
|||||
dbrookes
Groupie Joined: 30 August 2019 Location: Australia Status: Offline Points: 70 |
Post Options
Thanks(0)
|
||||
The window on the application side (in this case CXTPBrowserCtrl) is just a host parent window for the browser window. The actual browser window is managed by WebView2 itself, and that is managed out to a different process. Hence, your application process/thread won't see the usual mouse messages. And the HWND of the actual browser is not intended for use. I don't think WebView2 has mouse event handlers (but I may be wrong). If you want to deal with user interaction, I would expect it to be implemented on the page itself. As for ExecuteScript. I believe the return value is a HRESULT indicating success of beginning execution of the script. You need to use the out parameter for get the return value of the script. Keep in mind that WebView2 is asynchronous. ExecuteScript will pump messages until the result is available.
|
|||||
rdmeyers
Groupie Joined: 11 December 2008 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
||||
Thanks for answering, but I think the WebBrowser control just doesn't process JavaScript on Windows 7. Something as simple as:
WebBrowser1.ExecuteScript ("alert('Hello from JavaScript!')") or WebBrowser1.ExecuteScript("document.getElementById('body').scrollTop = 0;") produces nothing! I placed both of these in the NavigateComplete2 sub, so the DOM should be ready at this point, correct?
|
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello, I've tested our Controls sample. first and second scripts works as expected. May be you input wrong values for getElementById. https://www.w3schools.com/jsref/dom_obj_s.asp m_wndWebBrowser.ExecuteScript(L"alert('Hello from JavaScript!')"); m_wndWebBrowser.ExecuteScript(L"document.getElementById('leftmenuinnerinner').scrollTop = 0;"); Regards, Artem Gontarenko
|
|||||
rdmeyers
Groupie Joined: 11 December 2008 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
||||
Artem,
Did you notice that my post specified that the scripts do not work in Windows 7? This includes the Controls sample. Rick |
|||||
asparagusx
Groupie Joined: 06 February 2007 Status: Offline Points: 53 |
Post Options
Thanks(0)
|
||||
Any update as to when next Beta/Release expected?
|
|||||
Pesci7
Groupie Joined: 27 January 2021 Location: Italy Status: Offline Points: 17 |
Post Options
Thanks(0)
|
||||
A couple of days ago they updated the release notes page with the final version 24.0, but then they removed it.
I hope a new version is around the corner. |
|||||
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 11 (x64) Language: Visual Studio 2022 (C++) |
|||||
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
|
||||
How do I get a ribbon based application to show rounded windows in Windows11 when using the frame theme? For example run the Ribbon MDI sample and check the Options/Frame Theme. Note that two things occur. The rounded corners of the sample go away and we also lose the Windows 11 Snap UI that appears when one does a mouse over on the frame's maximize button. I would like to remove the work-around I have in place which calls DwmSetWindowAttribute with JDMWCP_ROUND to get the rounded corners and remove the ribbon bar work-arounds I have so the Win11 Snap UI shows up.
|
|||||
Hex
Newbie Joined: 09 November 2016 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
||||
Reset markup property of a markup control in VB6 with e.g. "Set markupcontrol.Background=nothing" or "Set markupcontrol.Child=nothing" raise an exception: Invalid procedure call or argument
VB6, Win10 64bit, Suite Pro v24.0.0
|
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello,
Unfortunately it is not clear what exactly is going wrong. Can you please provide more detailed information and steps to take, screenshots or video can be useful as well. If it cannot be re-produced in any of our sample applications provided I would appreciate you sending a small code snippet or ideally a sample application so that we could debug it. Regards, Artem Gontarenko |
|||||
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
|
||||
Hi Artem. Not sure who you were directing the post to.
|
|||||
Hex
Newbie Joined: 09 November 2016 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
||||
Put a Markuplabel control on a form and run the next method
Private Sub MarkupControlTest() Dim tmpStackPanel As MarkupStackPanel Set tmpStackPanel = MarkupLabel1.MarkupContext.Parse("<StackPanel Background='Red'></StackPanel>") Set tmpStackPanel.Background = Nothing {This line raise the error} End Sub VB6, Win10 |
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello, In last version added additional checks of input parameters. 'Background' parameter can't to set Nothing. Note: in XAML can't to set label back color as nothing ot null. You can to set predefined color only, red for example. <Label Background="red" .... Regards, Artem Gontarenko
|
|||||
Hex
Newbie Joined: 09 November 2016 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
||||
"Set tmpStackPanel.Background = Nothing" line not set the color instead set the Brush (object). In this approach make sense setting the Background=nothing. Same with MarkupBorder's Child,Margin,BorderThickness property:
"Set Border.Child=nothing" or "Set Border.Margin=nothing" raise same error. This properties are objects. Why can't set to nothing? |
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello,
Because has been added check for NULL. Create test C# XAML project, open XAML editor and try to set null to Label Background. Regards, Artem Gontarenko |
|||||
Hex
Newbie Joined: 09 November 2016 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
||||
Hi! In this case the Background is invalid of course: <Label Background='null'>Label text</Label> In this case the Background is null/nothing in vb6: <Label>Label text</Label> No Background attribute! In VB6 I've created a MarkupStackPanel element in this way: Dim tmpStackPanel As MarkupStackPanel Set tmpStackPanel = MarkupLabel1.MarkupContext.Parse("<StackPanel></StackPanel>") In this case the tmpStackPanel.Background property is nothing, but can't set to nothing when it isn't?
|
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello, We discussed the problem with colleagues and concluded that we need to leave the ability to set the value to Nothing. The fix will be available in the next revision. Regards,
Artem Gontarenko |
|||||
Hex
Newbie Joined: 09 November 2016 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
||||
Thank you! I greatly appreciate your attitude!
|
|||||
agontarenko
Admin Group Joined: 25 March 2016 Status: Offline Points: 289 |
Post Options
Thanks(0)
|
||||
Hello RDHD, Codejock Ribbon Frame Theme is't suppont Snap UI. If you disable frame theme - standart windows frame will be added with Snap UI. See please RibbonSample. Regards, Artem Gontarenko |
|||||
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
|
||||
Hi Artem, I understand but we are using the frame theme. I kept my solution in place. Works just fine and doesn't involve too much code.
|
|||||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |