473,672 Members | 2,750 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 2978
On Nov 3, 10:08*pm, Kid <K...@discussio ns.microsoft.co mwrote:
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************ *************** *******@w1g2000 prk.googlegroup s.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*********@ne wsgroups.nospam wrote:
>
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.comTi m
Roberts wrote:
>"Jeff Gaines" <wh*********@ne wsgroups.nospam wrote:
>>
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
2222
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 old HTMl screen scraping habits. My online CGI program Ask Merlin at www.awaretek.com/askmerlin.html is an example. Currently, the program takes any user's question and picks the best answer from amongst the possible answers given by the user....
12
8468
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 I really want to get back into it as I see a point with GNU/Linux. I want to get my old skills back and write something or help on some projects etc. I need some good books. I used to have one called "A Book On C", but sold it,
10
2255
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 grabbed earlier -- Get the Auto premium quote -- Store the results on the MS Access database / table. The Websites that quote premium on web like progressive's website use POST method to pass information from one URL to another. For example,
3
2474
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 a QA in an MNC in India, since I graduated in September 2003. I am working in a QA role which requires me to do some Winrunner automation, and modifying/creating a framework in Perl for Automated Regression Testing of some command Line utilities...
7
1702
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 GUI programming with C. I understand that it's easier to move to C++ or a few other languages (namely GTK+ or QT), but I'd like to stick with just C for awhile so I don't get too confused. I've been told that I should stick with a language for...
2
2216
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# as the language of choice) and have developed simple applications to work with Access/SQL databases. I have accomplished all tasks that I wanted to with the small but simple applications...learned alot about the syntax and logic used in C# an...
9
1488
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 background is a mix of programming and networking. I have fairly decent skills in C++, Java and ADA. I have been working as a network engineer on all flavours of windows, lots of unix, mssql, cisco and others. Currently finishing a master of science...
42
2884
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 to these programming newsgroups and asking for ready-made solutions to fairly simple programming problems. They either want someone to write code for them, or point them to a ready-made chunk of software that does what they need to do. Now, I'm...
11
1966
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 end, searching archives is a boring & very time-comsuming task BUT it really helps. actually i have posted this question onto some other newsgroup too but i am posting it here too because C++ has fascinated me. here is my question:
23
3641
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, I have 3 set of quizzes that anyone is welcome to try online for free. Questions on C quizzes are rather easy to solve for Professional C programmers yet for those who are taking C as a first programming course will find these useful in assesment...
0
8406
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8932
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8831
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8609
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8683
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7449
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4230
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.