Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 5th, 2007, 10:39 PM
Registered User
 
Join Date: Feb 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can someone make this?

Hey guys,

I really don't know much about programming, so I thought this would be a good place to ask for help.

Could anyone here write a small program that continuously scans your screen and continuously right clicks whatever is yellow (specifically this yellow #FFD15A) on screen? Maybe with a "Start" and "Stop" button? Thanks, I'd really appreciate it.

Reply With Quote
  #2 (permalink)  
Old February 9th, 2007, 01:07 PM
Authorized User
 
Join Date: Jan 2007
Location: Lisbon, , Portugal.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well that might be not as easy as it seems...
Scanning the screen might be easy by moving the position of the cursor or the mouse dynamically. But i really don't know how to retrieve the color that is below the mouse pointer...

I was also interested in this some times ago because i wanted to show tooltips under the condition of certain colors.


Visit my page: http://www.webrickco.com
Reply With Quote
  #3 (permalink)  
Old February 9th, 2007, 01:26 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

First, I don't think you will get many bites on people that will do anything for you, myself included. I am here to help people with their problems and work through it with them...not to do peoples work for them.

Secondly, you should be able to do this by making calls to the Windows API's: GetDCEx and GetCursorPos (I saw a C++ article that used these awhile ago, but that app worked like a color picker (think Eye dropper in Photoshop) thus it required the user to click for the pixel color to be obtained.)

You may want to check out this link though: http://www.tutorials-se.com/drawing/COLOR-under/ hth.

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Reply With Quote
  #4 (permalink)  
Old February 13th, 2007, 04:38 PM
Authorized User
 
Join Date: May 2006
Location: fayetteville, Arkansas, USA.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to notrosh
Default

I agree with dparsons. This sounds like an assignment for a class or a bonus assignment of some sort. However, i would start by looking at control ids for windows.
Reply With Quote
  #5 (permalink)  
Old February 16th, 2007, 08:57 AM
Registered User
 
Join Date: Feb 2007
Location: Rotterdam, , Netherlands.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Ruffnekk
Default

Or you could go to http://www.donationcoder.com and post a request there. A bunch of skillful programmers will look at requests and point you to either existing software or may even pick up the request and do it for you. (My username is the same there if you have more questions).

--
Regards,
Ruffnekk
--
Programming is an art that fights back.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make 2 or 1 Muhammad Zeeshan SQL Server 2000 2 August 16th, 2007 01:10 PM
Can someone make this? JonathanRay C++ Programming 0 February 5th, 2007 10:40 PM
How can I make that? kalchev ASP.NET 2.0 Professional 0 April 3rd, 2006 07:01 AM
How to make a explorer in c#? gefferye C# 0 December 6th, 2005 08:27 AM
how to make a combobox? ashu_gupta75 Excel VBA 1 August 16th, 2004 02:47 AM



All times are GMT -4. The time now is 02:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.