Windows form in smart device project - c#

I have develop a small project for my Handheld device(Windows CE 7.0) using VS 2008 pro. I has a windows form with 2 text box in the project. I build the cab file and install the apps into the handheld device but the UI seem like weird. It has extra gray color area appear on top of the UI but not sure what is the gray area is. I attached the screen shot of the UI. Please help, how I can remove those area,

i think the color is the color of a panel docked on top remove the panel

Related

How to create Icons for a Desktop Application in Windows 10

I have an application which has been used in Win7. I am now moving to Win10. It is a standard application and not a universal one.
My application icon look ugly in the Windows 10 app menu and in the start menu (mainly because it is not a flat icon with transparent background). Can someone point me to a guide on what kind of icons .ico/.png files I am suppose to make for my application in a Windows 10 environment.
I imagine I could make a flat white icon with a transparent background but what happens when themes change or the file is viewed in a white background?

Detect notification area background color?

I have to say I am a bit shocked the answer to this problem isn't easier to find. I have an application that creates a notification tray icon. When I am running my app on Windows 10 the notification area background color is black. So I am using a white version of my logo for contrast. Running the same program on Windows 7 the taskbar background is dark, but the notification popup has a white background. Thus using my white icon doesn't work?
My first thought was to determine if I am on Windows 10 and if I wasn't to use a blue version of my icons. Sounds simple enough until you try to detect the OS version. For some reason Microsoft has decided that the OSVersion information will just return the Windows 8 version number from now on (if you are on Windows 10)?!?! Seriously? The suggestions to detect Windows 10 are to look at registry keys, or make unsafe calls to kernel level api's?
Other application developers have had to run into this issue. What is the solution? How do you managed your notification tray icons when they have to work when on a white background and black? I would prefer not to make the blue images background white, since the box around the icon won't look very nice.

Design Window Phone app screen size

I'm developing app for Windows Phone. I have a Lumia 1320 and I noticed that apps on my device are wrongly seen so as many apps on the Store (like WhatsApp!)
ScreenHeight is wrong because, when task manager is open, I see a black border (especially if there is an ApplicationBar) on bottom and font size is bigger then the settled size on settings.
There is a plug-in or something in SDK for developing apps for 6" screen or there is something I miss?
Thank you all!
You can change the resolution of the device that the UI designer uses by using the side bar (on the left usually).
Here's a screenshot for you. When use correctly you can get a feel for what you app will look like on different phones.

SIP buttons not showing on WM6.5 emulator and Windows handheld 6.5 (Motorola MC65)

I've had this Motorola MC65 handheld for a while and was trying to migrate a program that I wrote in C# with VS2008 which ran perfect on a WinCE device on to it. However I encountered a problem that I had no idea at all where to start with.
Please see the screen shots. Picture 1 is my program (please ignore the squares they were just Asian chars). There is no close button on it whatsoever. At the right bottom corner there's just an input method icon. I wasn't trying to hide the windows title bar. On Windows CE device and PocketPC emulator the close button shows as expected, as Picture 2.
The system on the MC65 is Windows Embedded Handheld 6.5 so I'm not sure if it's okay to use the Windows Mobile 6.5.3 SDK/emulator for development? And also, can I somehow make the program show as in WinCE system where the title bar with the control boxes on top, just like a PC?
Thanks in advance.
Picutre 1 NoSIP
Picture 2 Pocket PC
"The system on the MC65 is Windows Embedded Handheld 6.5 so I'm not sure if it's okay to use the Windows Mobile 6.5.3 SDK/emulator for development?"
The WEH 6.5.3 is the right emulator for a Windows Embedded handheld 6.5 device.
The issue you are seeing is a change in the UI and a difference between Windows CE and Windows Mobile:
a) WEH natively supports a menu bar. If you do not have a menu bar, you will have no SIP (and no Start and OK/X button).
b) Windows CE uses command bars for menu implementation. see https://groups.google.com/forum/#!topic/microsoft.public.win32.programmer.wince/G7Oi5Kofda4 and !!!! http://www.codeproject.com/Articles/2564/Window-Wrapper-for-a-WinCE-Win-dialog-app
Now, it is up to you to re-design for WEH/WCE compatibilty or switch to WEH.

how to draw text on curve in c# windows store app

I am working on windows store app project for windows 8.1 in visual studio 2013. I need to apply curve on textblock using slider value.Means when i move slider the text becomes curved. Can any one help me for this.
Is their any simple way to curve text in xaml or c# for windows store app.

Categories

Resources