Application Design

Hi @all,

i am planing to develop an app. that has to show miscellaneous informations on the screen. Similar to a html browser or something like that. But the information comes from a database.

I want the app to show the infos in flexible forms that are not limited to the original windows look an feel.

I want to customize the geometry of the Forms, Buttons, Frames, Alpha-Channels. In one word just everything of the HMI.

I have heard that there is Microsofts GDI or WinForms , Mozillas XUL or something like that, also the new XAML should do so, but i do not know where to start.

What is the right kind of stuff do get this app alive?

If anybody has an idea, feel free to post it.

Thx Ben

#199119

Your idea sounds really really cool.I understand you but I can't help...My programming ends at xhtml (yes I learnd!! :6 ) So I am really sorry...

#199994

That really depends only on one thing:

*** Your development skills. ***

If you were planning to utilize GDI/GDI+ with C++, you should have been

doing it for years (to accomplish such a task) and wouldn't be here asking that.

If you had a year of Java class at school but nothing else, stick to that. Good

luck on your journey - I hope someone else can tell you which toolkit to pick.

If you are a dedicated Delphi only coder, stick to that too. Try to leave TSomething

and have a deep look into the Win32 SDK. You'll need to change your attitude

to programming and get independent of Borlands prefabricated shortcuts that

made life easy in the past years. This toad is the hardest to swallow for most

Delphians I know.

If you are a VB6 coder, drop some of your goals (at least the Alpha Channel stuff)

and have a stable app first before you try to add value to it with a C++ OCX

or even ActiveX Designer. Another good move would be switching to VB.Net.

If you haven't done anything but Access Macros and report views and think

that switching to another development environment would be a piece of cake,

consider your bubble punctured. Give VB6 a try, that hurts less than anything

else in your case. You'll be having a long and frustrating way to go.

Of course, if you were coding LAMP (Linux, Apache, MySQL & PHP) for years

and have to switch to Windows for some arcane reason, I welcome you in hell.

You'll have to drop most of your skills and start anew.

If your skills don't match one of the above, please do tell.

I might sound overly negative but I stand to my impression that you

severely underestimate the task that you gave yourself.

sorry,

herd

#200225

Sorry is nice, but it won´t help me getting farther. You may think that I don´t know what I am talking about, but believe me I do.

Finally there are many applications that use skinning technics. so this can not be the problem.

Back to C# and Java. What is the general approach in this languages getting them skinned?

And be the way, is it possible to rotate an windows form?

#200477

In terms of C#/Java, your best bet is to override the rendering/painting of whatever controls you plan on using (buttons, forms, etc.) or, if you're feeling really adventurous, write your own controls with their own painting methods...

To be honest, it all depends what sort of level of complexity you're going to, and what you're planning on doing.

If you're throwing together a single-form thing, you may as well just override the render events in that form "by hand"...

If, however, you're creating a large system, you'd be far better making the controls as distiinct controls with their own overrides so that you can use them throughout the system.

In terms of difficulty, with C#, it's probably somewhere around the same level as Delphi, verging a little towards C++... With Java, I dunno.

#200575

Thx Stevie,

for my intention the normal controls (Forms, Buttons, Labels, ...) are enough.

Should it be so simple?

WinForms currently support some stuff like transparency. I guess you mean to override the onPaint-Methods with GDI+ Routines.

If I do so, would I be able to set a Region on a Form with for e.g. a GraphicsPath and then a button or another control in this region?

I want to be able to rotate this form, or the region or what ever. Essentialy I want to have something like a form with normal windows controls which can be skinned and rotated.

Hm, I don´t know whether this is clear enough.

;)

Looking good???

;)

#200774