15,896,726 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Steve Thresher (Top 4 by date)
Steve Thresher
27-Mar-14 9:51am
View
I'm talking about a windows service (services.msc). I've written a test service that just runs the following code when started:
protected override void OnStart(string[] args)
{
IntPtr hkl = GetKeyboardLayout(0);
string output = String.Format("GetKeyboardLayout: 0x{0:x} \n",unchecked((short)((uint)hkl >> 16)));
System.Diagnostics.Debug.WriteLine(output);
StringBuilder layoutName = new System.Text.StringBuilder(new string(' ', 256)); ;
GetKeyboardLayoutName(layoutName);
output = String.Format("GetKeyboardLayoutName: {0} \n", layoutName);
System.Diagnostics.Debug.WriteLine(output);
}
The output on the problem server looks like this:
GetKeyboardLayout: 0x409
GetKeyboardLayoutName: 00000409
They should both show 809 on a server configured for English UK.
Steve Thresher
7-Aug-11 11:31am
View
We have a few bespoke apps that are designed to run on the previous version of these units. The problem is the manufacturer has changed screens from QVGA to VGA.
http://www.motorola.com/Business/US-EN/Business+Product+and+Services/Mobile+Computers/Handheld+Computers/MC55A0
The rest of the software is designed to run on standard monitors which means it can be resized as required.
Steve Thresher
4-Aug-11 9:26am
View
Those functions are device context specific. I was looking for some kind of option to apply scaling to the whole app (windows, fonts, standard dialogs).
Steve Thresher
4-Aug-11 9:11am
View
Thanks for the suggestion but I was hoping for something much simpler to give us the time to re-work our UI libraries to support scaling.