Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Using Spy++ tool, it seems that some Microsoft apps use NetUIHWND and DirectUIHWND window classes; e.g.: Word 2010's ribbon seems to be a NetUIHWND, instead Windows Live Messenger window seems to be a DirectUIHWND.
These window classes seem to host kind of cool graphics (with shadows, gradients, etc.); is it possible to use these window classes in our own Win32 C++ apps? Is there any documentation about them?
Yes, it has been around for a while already. But it gets especially a lots of usage in Windows7. Unfortunately, they keep this one to themselves, it is undocumented. You can try to reverse-engineer it, use a ListView as a guide to what it might do. But your code will almost certainly break in the next version of Windows. Which I think was the point of not documenting it, they need something they don't have to keep backwards compatible to be able to improve the look-and-feel of the operating system.
NetUIHWND and DirectUIHWND are the Win32 class types for different GUI toolsets.
From Win32 perspective they are a self drawn panel.
So you wouldn't use these classes directly, you would use the other GUI toolsets to build the UI.
Not sure about the Messenger UI, but you can use the ribbon control in your own apps.
On WTL: https://www.codeproject.com/Articles/54116/Relook-your-Old-and-New-Native-Applications-with-a
On MFC: https://learn.microsoft.com/en-us/cpp/mfc/reference/cmfcribbonbar-class
Use the Microsoft Active Accessibility API:
There is no need to reverse engineer this thing, you can enumerate this class structure using the Microsoft Active Accessibility API.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm trying to find a Windows friendly UI development environment that I can translate what experience I do have into something usable, maintainable, and current. I like the idea of a web based UI, but that introduces another problem since a local Windows platform is required to perform various computations (because that's where the binaries and licenses are available).
I've decided on WPF + a well supported MVVM framework like Prism as a starting point. I have looked at the WPF samples they provide here:
https://github.com/PrismLibrary/Prism-Samples-Wpf
For the Prism supplied "examples", there isn't much of a description for what is going on in each step. There is mention of a Hello World example being added 3 years ago, but that doesn't seem to exist anymore.
Does anyone know of a good, simple example, based on the current Prism WPF Template, showing how to implement a "Hello World" type application? In my mind, something where you click a button that fires off an activity that when complete, will update a text box, or any other text/numeric control on the UI?
Based on further explanation in the comments.
PRISM has a huge amount of cruft rather than least and I suggest you instead look at mvvmlight. The way I would usually work is to create a new wpf app then add mvvmlightibs as a package using nuget.
I put together two samples you might find relevant:
https://social.technet.microsoft.com/wiki/contents/articles/31915.wpf-mvvm-step-by-step-1.aspx
https://social.technet.microsoft.com/wiki/contents/articles/32164.wpf-mvvm-step-by-step-2.aspx
The second uses mvvmlight.
I'm not suggesting you read just my articles but I have a bunch of them on wpf and a lot are aimed at newbies.
https://social.technet.microsoft.com/wiki/contents/articles/30959.user-page-andy-oneill.aspx
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Can anyone indicate a good 3270 emulator (which can login, scrape screen, find text, send keys etc. in background) for .NET (win and web). Something very similar to http://www.zephyrcorp.com/legacy-integration/index.htm (apparently zephyr costs like $5k per year, which is quite a lot, for one PC).
I also tried http://open3270.codeplex.com/SourceControl/list/changesets but it's way old and buggy.
Attachmate Reflection is really good, it meets all the requirements you mentioned and it has a great .NET API you can use to easily automate it from your .NET code. They don't list prices on their website but I think it is under $300...
For Desktop: I liked the idea of using a stable and well known client and remote control this instance. Therefore I ended up using x3270 (http://x3270.bgp.nu/) as the full featured, mature client in combination with X3270.Rest (https://www.nuget.org/packages/X3270.Rest/) that let's you remote control it from within a .NET application via the exposed REST interface (http://x3270.bgp.nu/rest.html). Reimplementing a complete new .NET client was not really an option because of all the alternatives out there. All those pitfalls on the road that lead to an reinvented wheel... But with an appropriate interface like the one mentioned it was quite easy to automate tasks without using DDE/HLLAPI.
If running in the background means without visible window one could start the x3270 client from .NET via Process.Start with suitable arguments to avoid a window beeing created.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
wondering how to create such app like Microsoft Expression Blend 4, with the modern design.
Very interested with the scroll and tab panel. The scroll is modern look, small and thin, unlike those wide scroll bars normally found in Windows Explorer.
Expression Blend 4 is a Windows Presentation Foundation (WPF) Application.
WPF allows you to customize nearly every aspect of the UI (including the scrollbars if you'd like).
Since you specifically call out the scroll panels, here's a tutorial that shows you specifically how to customize the look of the scroll bar by modifying the WPF template:
sachabarber.net >> Styling a ScrollViewer/Scrollbar in WPF
The nice thing about WPF is that once you understand how to modify things by changing their template, you can use the same method to change the look/feel of just about anything.
You could use DevExpress components for Windows Forms or WPF.
WPF is the way to go. Look at some of the themes here to get an idea.
There is even an Expression Dark theme.
Telerik has a sweet WinForms suite that has many sleek looking controls. That might be a good starting point.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need to incorporate a flowchart design surface into an app we're developing to allow users to create what are essentially workflows/schedules. I need to be able to create my own 'shapes', set custom properties on them and possibly have a bit of logic in there too (if, while etc).
I know I need to take a look at hosting WF in the app, it looks like a good fit, but does anyone know of other designer compoments out there I could use.
Have a look at these resources, both are free solutions, but compared to the commercial ones (Mindfusion, GoDiagram) they require some more development work on your side:
WPF Diagram Designer # CodeProject (requires WPF)
Netron library (without WPF)
You should try Visual Studio Extension. You are able to use the VS.NET IDE for free, create diagrams, export into xml/webservice/custom format etc.
For example, you can create a tool to describe concepts that are specific to how your organization models business processes. If you are building a state chart tool, you can describe what a state is, what properties a state has, what kinds of states exist, how transitions between states are defined, and so on. A state chart that describes the status of contracts in an insurance company is superficially similar to a state chart that describes user interaction among pages on a Web site. However, the underlying concepts between the two state charts will differ significantly. By creating your own domain-specific language and custom-generated designer, you can specify exactly what state chart concepts you need in your tool.
Start here. Examples here:
Storyboard designer sample
DSL Tools Lab
(source: microsoft.com)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need a WeifenLuo replacement that'll run on both .NET and Mono, on Windows, Linux and Mac, preferrably licensed under the MIT license.
I'd appreciate if the API was similar to WeifenLuo's, but I understand that such may not be available.
Also, since I couldn't find anything on Google, I believe this might not exist.
In this case, I'd like some hints regarding how to implement this.
I have some(not much) Windows.Forms experience, and I must not use any P/Invoke. I already know out how to detect window motion and how to create a borderless translucent window on a given position and with a given size.
So here are some problems I am facing:
WeifenLuo supports multiple left/right/top/bottom panes, allowing them to be resized and contain more than one panel.
It also supports splittable tabs.
Is there anything else I should be aware of before starting? Are there similar open-source projects available?
It is possible to disable all PInvoke to Win32 API when running on Mono. The price you pay is to lose drag and drop support on Mono/Linux, which may be acceptable in some cases.
Edited: http://www.lextm.com/2012/05/a-call-to-the-community-dockpanel-suite-history-and-future-2/ A fork of DPS is now hosted on GitHub, http://github.com/dockpanelsuite/dockpanelsuite
I have been wanting the same thing. I have been testing a basic layout system for win forms and found that the mono Mac version of WinForms is not 100% complete like drag and drop has not been implemented and is slow.
From my own searching GTK# has the best support across all platforms. The other way is to split the UI for each platform i.e. WinFoms, GTK# (linux) and Cocoa (cocoa#/monobjc).
GTK# looks nice, but involving, and there is a learning curve. Myself, I tried QuickSharp, but couldn't find support anywhere, and the weifenluo docking system lacked a few features and was difficult to implement form sizes.
I ended up going with [dockDotNet][1] which allows for a minimumsize parameter, and is very easy to work with. You can set nearly all the floated form properties right there with the property manager - even setting the form icon!