Closed

SendMessage (RichEdit)

This project was awarded to michaelelsd for $13 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Project Budget
$30 - $5000 USD
Total Bids
2
Project Description

Using SendMessage (or other similar API calls) to retrive the text from a RichEdit control. Please read EVERYTHING before bidding.
[DllImport("[url removed, login to view]")] private static extern int SendMessage(IntPtr hWnd, int msg, int wParam, [Out] StringBuilder lParam);
.
.
StringBuilder RichEditContents = new StringBuilder(512);
.
.
SendMessage(hWnd, WM_GETTEXT, 512, Contents);


Download the windows client from [url removed, login to view] and open a table (I don't think you'll even need to make an account, but you might have to). Then go to a table (for testing, best to go to 'play money' tables). When at a table there is a RICHEDIT there. The combo-box must be set on "Dealer: Everything" and I'd like to retrieve the contents of that RichEdit. The above snippet of code is what I've done and it does not work. I have no problems getting the handle to the RichEdit - just can't seem to get the contents.. feel free to use any of: EM_GETSELTEXT, EM_STREAMOUT, etc., etc., anything you want really - whatever reliably works.. If you can have a function that fires whenever the richedit is updated and messages any NEW contents, that would be a massive bonus :)


## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.


2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Windows 98, 2000, XP (especially XP). Code must work under MS Visual Studio C# 2005 Express Edition Beta

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online