Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
To present a meter in my MFC, I use the bitmapbutton to show the watch face.

While, a meter has to have its second hand,is it possible that I create a bitmap to show the needle and make it rotate as I wish ?
Then how to rotate a bitmap in my program? Will the bitmap of the needle cover the watch face and both two can be seen together?

Or if I can paint my own needle as a triangle ? This references to some brushthings.

Which method seems better? Any better suggestion?

The most important,HOW?
Posted

1 solution

Watch face? with a second hand?

Please, listen carefully, this is pretty important.

I've worked a good deal of time in industrial and research automation. Pure hard-working people working in industry are crying out of "cool" programmers concerned only with showing off their "cool" skills drawing those "cool" steam-punk-style XIX century-looking "analog" controls, which "cool" colors, shadows, texture and animation. Those decent goal-oriented people want to do their work painlessly, quickly, with less hassle and mistakes. They need good readability and sure-handed control. Therefore, they would be happy to see clear edit controls with — maybe it's hard to imagine! — digits. Maybe simple sliders, or something like that, something which does not require mad skills of moving a mouse with a precision circular motion and other clownery. Instead of that, there are too many companies who take proud of all these cheap picturesque imitations of old round dials and other "stylish" trash.

To me, it looks more like sabotage. I remember that in one of the companies someone purchased a 3rd-party control library, and it had highlighted buttons. It was a very realistic imitation of old first-half-of-XX-century white buttons made of cheap plastic with small incandescent-bulb indicator inside, and highlighting was very patchy, due to plastic stiffener elements showing through. Very cool and realistic, but… there is also a text label on a button, and that clever lighting trickery made the label barely readable. Very nice.

Do one simple thing: imagine that you work is not showing cool stuff, but actually using your own UI and support real production everyday, in a busy and time-pressing environment. Imagined? And now think what kind of UI would you design for yourself.

I'm afraid you will blame me in not answering your question and not helping your to get what you want. Whatever. By why not thinking about what the user wants? The techniques you want are really needed, for many things. At this moment, this is just not the most important thing. You wanted some better suggestions? This is better suggestion. Much better.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900