How to create a taskbar application similar to Touch Keyboard on Windows 8.1? - windows-8.1

On Windows 8.1, if you right-click on the taskbar and point to Toolbars you can turn on Touch Keyboard, which makes a small image of a keyboard appear at the far right of the task bar just to the left of the notification area.
I want to develop an application that can make a presence here with a dynamically updating display of a time string (a count down application).
Can anyone advise if this is possible using C# .NET?
From various research I've discovered it is extremely difficult to determine exactly what Microsoft refer to this utility as. I have seen 'deskbar', 'deskband' and obviously it's under 'toolbars' in the task bar context menu. It also seems every major OS release changes the terminology and functionality completely. So bonus points if anyone can clear up what it's called on Windows 8.1 in addition to what term to research or MSDN article to read about developing an application that sits there.

Related

Screen capturing based on Windows Magnification API fails on Windows 7 64 bit With Aero theme disabled

I'm trying to capture the desktop screen using Windows Magnification APIs based on code sample given in https://www.codeproject.com/Articles/607288/Screenshot-using-the-Magnification-library?msg=5570528#xx5570528xx.
The program (32bit executable) works pretty good on Windows8 and Windows10 but fails on Windows7 OS. I compiled the program into 64bit and the behavior is same even for the sample program mentioned in the above codeproject thread.
After debugging I figured out that the MagImageScalingCallback function returns image width and height as 4*4 instead of my monitor's size and that causes the program to crash or capture a blank screen on Windows7 machines (reference: https://learn.microsoft.com/en-us/windows/desktop/api/magnification/ns-magnification-tagmagimageheader).
All the API calls (MagInitialize, CreateWindow, MagSetWindowFilterList & MagSetWindowSource) are successful. There are no API call failures or mistakes in the code flow in terms of Initializing creating, setting desktop area & assigning filter list.
DWM (Aero theme) is turned off (as per reference: https://learn.microsoft.com/en-us/windows/desktop/api/magnification/nf-magnification-magsetimagescalingcallback)
I couldn't find any resources related to this topic even after researching for about 3 days. I have to use Magnification APIs because I have the need to capture windows that stays behind other windows on the desktop.
Any help would be appreciated.
Update 1:
I figured out that the application is able to capture the screen only when Aero theme is enabled and that contradicts with the statement in https://learn.microsoft.com/en-us/windows/desktop/api/magnification/nf-magnification-magsetimagescalingcallback.
I'm not sure how could I make it work on Operating systems with Aero theme disabled or not available by default.

Gear watchface styling outside of Tizen IDE easily possible?

I wanted to develop my own watchface for my Gear S2. I found some good documentation on downloading and using the Tizen IDE. All is well, but I'm finding the tweak css/html5-run/upload-switch faces-view-wash-rinse-repeat to be very tedious and time-consuming.
I know I can point my browser (Chrome) to my development workspace and load the index.html up and I surmise that I could tweak what I have, which came from the template to work in the browser if I made the sizes in the css static vs dynamic (absolute vs percentages). But is there a better way? Scouring the Internets Googles have yielded nothing too helpful yet.
moderators: this might be OT for this particular SO. If that's the case, I apologize. A nudge in the right direction would be greatly appreciated, if so.
So, I was able to make a little progress on this myself. I am using Chrome in developer mode, which almost works perfectly when using the developer device emulator. To toggle the device emulator, open developer mode (windows: ctrl+shift+I, OS X: cmd+option+i) and when the tool window opens up, look for the little device button next to the element button in the upper left corner of the developer tools window. When the device emulator open, switch the resolution to 320x320 (top of the window next to "screen").
Now, open your index.html file for your project in Chrome, and you can at least muck around with your css styling.
Now to get around the whole issue of reloading your clock with the default clock in the Java emulator for Tizen, I was able to get my changes to automatically assert when running the new code. The way I did it, though I'm not sure if all of these steps were necessary was:
In the emulated watch:
1. set the screen timeout to 15 mins.
2. set the watch face to your development watch face
In the IDE:
1. when ready, use the button for smart launch (it's the blue button just to the left of the bug button in the tizen web IDE). This is in the Tizen SDK version 2.3.1 build 20150721-1440.
At the time of running your code -- making sure both your emulated watch is running too:
1. In the IDE, click the smart launch button
2. Click over to your emulated watch and make sure it's in focus.
It should update the watch face with your latest changes in realtime. This worked for me, so YMMV, but at least I didn't have to reload the watch face after asserting the latest version.

Effective desktop layout saving for developers?

I develop mostly in one of two layouts:
Laptop with its native 1920x1080 resolution OR
Laptop with attached 2nd monitor (with 1650x900 resolution)
Lets call the top one LAYOUT-A and the bottom one LAYOUT-B.
When I open the Delphi and Visual Studio IDEs (or Excel, or any other application) and set up the layout of the main window, debugging, find-and-replace windows, etc I find it all works nicely...until I switch between LAYOUT-A or LAYOUT-B. Then the main Windows desktop gets messed up (icons bunched up haphazardly) and the IDEs windows need to be reset.
This gets even worse if I have to connect to a projector with some low resolution like 1024x768 for a client demo! Then I face 10-20 minutes of painful resetting up!
Is there any way, perhaps early after boot, where I can tell Windows "Hey, I'm using LAYOUT-A today!" and then everything just works??
Using Windows 8.1 here.

Can one debug HLSL on Windows Phone 8?

The more I look around, the more it looks like this feature just isn't supported.
When I try to run the graphics diagnostics tools, it just launches the app and debugs normally. I see nothing new that is related to graphics anywhere on the screen (every button on the graphics toolbar is grayed out).
I'm surprised I wasn't able to get an answer from my search engine, but I would love guidance so I could try some other form of debugging instead.
Thanks for reading

Dynamic/automatic updated history in TFS/VS

Is it possible to make the History window in Visual Studio to track the active selected item in the Source Control Explorer window?
Other source control software I have used have this option, and it makes it very easy to iterate through the files in a folder and see what has changed.
It doesn't do it out of the box, and I'm not aware of a plug-in that does that. In VS 2012 the team moved the History view to be in the editor document well rather than a tool window making this mode of working even less likely I'm afraid.
That said, I'll pass the feedback along to the team who make the TFVC provider. Being an Eclipse guy myself I am familiar with that mode of working and certainly find it useful at times.

Resources