473,513 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# UI programming question

Hi

Is there some good sample about using C# to write MDI or multi-dialog style
app?

How can I get other app window client pixel data like VC++ Win32 sample ?

Is there some sample using C# to send message to other app UI control ?
( I would like to write some screenshot and some auto run tool )

Thank for your kind helping .
Nov 4 '08 #1
4 2973
On Nov 3, 10:08*pm, Kid <K...@discussions.microsoft.comwrote:
Hi

Is there some good sample about using C# to write MDI or multi-dialog style
app?

How can I get other app window client pixel data like VC++ Win32 sample ?

Is there some sample using C# to send message to other app UI control ?
( I would like to write some screenshot and some auto run tool )

Thank for your kind helping .
Why would you want to use MDI for C#? MDI is the past, C# Forms is
the future. Chris Sells in his Win Forms 2.0 Programming book has a
short section on "hosting MFC in Win Forms" but nothing on using C# to
write MDI. As for sending messages to another app UI control, I
assume you don't mean a child form within C#, which is trivially easy,
but another unrelated app. You need to perhaps use COM or equivalent
to pass information between two unrelated apps running in Windows--or
use a low-level driver. Not easy to do I would imagine.

RL
Nov 4 '08 #2
On 04/11/2008 in message
<22**********************************@w1g2000prk.g ooglegroups.com>
raylopez99 wrote:
>Why would you want to use MDI for C#? MDI is the past
It's not the past while programmers keep it alive! Worst mistake MSFT made
was making Word SDI.

Anyway, MDI is quite feasible in C#, the OP can do a search on the Code
Project for examples:
http://www.codeproject.com/info/sear...tkw=mdi&sbo=kw

--
Jeff Gaines Damerham Hampshire UK
"Why is it that when we talk to God we're said to be praying,
but when God talks to us we're schizophrenic?"
Nov 4 '08 #3
"Jeff Gaines" <wh*********@newsgroups.nospamwrote:
>
raylopez99 wrote:
>>Why would you want to use MDI for C#? MDI is the past

It's not the past while programmers keep it alive! Worst mistake MSFT made
was making Word SDI.
Microsoft's usability research strongly disagrees with your assertion.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Nov 11 '08 #4
On 11/11/2008 in message <qd********************************@4ax.comTim
Roberts wrote:
>"Jeff Gaines" <wh*********@newsgroups.nospamwrote:
>>
raylopez99 wrote:
>>>Why would you want to use MDI for C#? MDI is the past

It's not the past while programmers keep it alive! Worst mistake MSFT made
was making Word SDI.

Microsoft's usability research strongly disagrees with your assertion.
I disagree with most of their usability 'research' and often wonder who
they speak to, e.g.:
Arranging windows on a multi monitor setup when Word has 6 windows open
instead of only 1 creates a chaotic mess.
Introducing a ribbon that reduces usable screen height when modern
monitors are getting shorter
Opening a DVD drive if you accidentally click on it in Explorer (in Vista)
when it's empty - do none of their usability researchers know that many
PC's have doors on them? I wonder how many drives have burnt out because
of that stupid behaviour.

MSFT need to speak to some real users.

--
Jeff Gaines Damerham Hampshire UK
Indecision is the key to flexibility
Nov 11 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2206
by: rdsteph | last post by:
I am having a lot of fun using the pyGoogle module ( http://pygoogle.sourceforge.net/ ) that uses the Google API. It is about as easy to use as I can imagine, and it is a lot nicer than using my...
12
8449
by: G. | last post by:
Hi all, During my degree, BEng (Hons) Electronics and Communications Engineering, we did C programming every year, but I never kept it up, as I had no interest and didn't see the point. But now...
10
2235
by: Rohit | last post by:
I need some ideas on how to write a program that could -- Read an MS Access database and grab information say Vehicle year, vehicle make -- Make a call to a website and enter the information...
3
2464
by: user | last post by:
Hi all, At the outset, I regret having to post this slightly OT post here. However, I strongly feel that people in this group would be the best to advise me on my predicament. I am working as...
7
1698
by: Jesse B. | last post by:
I've been learning how to program with C, and I can't find any info about GUI programming with C. I'm almost done with O'reilly's Practical programming with C, and would like to mess around with...
2
2205
by: Ed_P | last post by:
Hello I just wanted to get the opinions of those of you who have experience developing C# applications and programming in general. I currently am learning the basics of programming (choosing C#...
9
1480
by: tjones | last post by:
Hi, I am guessing this is *THE* nntp newsgroup for C#? I was hoping someone could point me in the right direction. Id like to find employment in the IT industry as a programmer again. My...
42
2861
by: Kevin Spencer | last post by:
Is it just me, or am I really observing a trend away from analysis and probem-solving amongst programmers? Let me be more specific: It seems that every day, in greater numbers, people are coming...
11
1953
by: arnuld | last post by:
hello all, 1st of all, i searched last 12 years archives of comp.lang.c++ because i have some problems. i got some help but not satisfied as i did not get solution specific to my problem. In the...
23
3611
by: Dexter | last post by:
My site is home to series of quizzes ranging from Accounting, Business, Math to programming languages. These are multiple choice type questions and you get a score card at end. For C language, ...
0
7264
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7166
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7543
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7106
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5689
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3236
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3226
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
459
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.