Thanks for the reply LuthfiHakim!
Quote
What is MyHand? Where did you get that handle?
An erroneous typo. I had been using that variable in an enumerate function in the actual procedure.
I suppose a little history would be in order. I enjoy playing online poker. I have to use three applications for each table to get the information I want. Every one of those applications gets their information out of a simple text file (basically). Sounds pretty straightforward, “I'll just write my own rather than use three apps at once”. Why is it the simple sounding applications ALWAYS end up being the most complex :cursing:. I want the information displayed over the table windows like the images below rather than deciphering it out of an external window.
I won't try to describe what I have tried in detail right now. Basically I have made two basic approaches to the problem. Initially I tried to create one window with controls then overlay that window to the host application. Make everything except the controls transparent. Since that was fraught with problems I tried setting the parent of controls to the host. As you can see that doesn't work so well either. I would rather have one window I can call from a DLL or the like. It would be much easier with multiple instances that way (only keep track of one window rather than 30 controls).
Below is an image of the table with the overlays. The big black popup is what you see when you click one of the smaller ones. Otherwise you only see the small "hints". Those "hints" are draggable by the way.
This image shows how the previous hand is showed over the host application. It appears to be several images over the host application at coordinates X,Y etc.
Sorry for the long winded post. But to explain what I’m trying to do seems to be where the confusion is. Any ideas of how I can accomplish this? I feel like I am making a basic mistake in my approach. Invariably, when I write a few hundred lines of code to do something simple another person says, "You could do that in two lines". I think I’m missing the obvious here as well.
Quote
Next time please wrap your source code with CODE tag, it will be easier to read.
I didn't even notice that option. That's a very nice feature! Thanks for pointing it out.