| Author |
Message |
Topic: Bell curve? |
dncarac
Replies: 25
Views: 487
|
Forum: Ask for Help Posted: Sat Apr 26, 2008 2:51 am Subject: Bell curve? |
The previous response was based on the law of large numbers. Here a page with a more mathematical explanation. It depends on how accurate you want the distribution to be.
http://www.taygeta.com/r ... |
Topic: Basic OnMessage() Question |
dncarac
Replies: 4
Views: 161
|
Forum: Ask for Help Posted: Fri Apr 11, 2008 12:36 am Subject: Basic OnMessage() Question |
| I actually didn't know that - As I said I'm just testing the waters, and really don't know a whole lot about how it works. I don't even care about cutting per se, but I thought that message looked pr ... |
Topic: Basic OnMessage() Question |
dncarac
Replies: 4
Views: 161
|
Forum: Ask for Help Posted: Wed Apr 09, 2008 5:49 pm Subject: Basic OnMessage() Question |
The problem is that the WM_CUT message is sent to a control, but your OnMessage statement listens at the window level. I don't think you can use OnMessage to listen to a particular edit control.
... |
Topic: Gui,2: |
dncarac
Replies: 4
Views: 146
|
Forum: Ask for Help Posted: Thu Mar 13, 2008 7:39 pm Subject: Gui,2: |
Your posted code only opens the first (2: ). How do you open the other?
I amended your code as follows:
Gui,2:Add, Button, x6 y10 w290 h90 gAlgebra, Algebra
Gui,2:Add, Button, x6 y110 w2 ... |
Topic: Retrieving WM_COMMAND parameters from a 3rd party app |
dncarac
Replies: 9
Views: 558
|
Forum: Ask for Help Posted: Mon Mar 03, 2008 7:57 pm Subject: Retrieving WM_COMMAND parameters from a 3rd party app |
| I did a little surfing this morning. I reviewed the thread about managed code. Then I went out to look for a free C/C++ IDE/compiler. I found one called Dev-C++. I downloaded it, and created a new ... |
Topic: Retrieving WM_COMMAND parameters from a 3rd party app |
dncarac
Replies: 9
Views: 558
|
Forum: Ask for Help Posted: Mon Mar 03, 2008 1:52 am Subject: Retrieving WM_COMMAND parameters from a 3rd party app |
| Interesting. I have a copy of the Microsoft C# visual studio, but haven't had a project worth investing the time to learn it. On the other hand, one of the things I know can be done with is is writi ... |
Topic: Retrieving WM_COMMAND parameters from a 3rd party app |
dncarac
Replies: 9
Views: 558
|
Forum: Ask for Help Posted: Sat Feb 23, 2008 5:13 am Subject: Retrieving WM_COMMAND parameters from a 3rd party app |
Bummer. If you do find out how to do this, would you please post it?
DNC |
Topic: Retrieving WM_COMMAND parameters from a 3rd party app |
dncarac
Replies: 9
Views: 558
|
Forum: Ask for Help Posted: Fri Feb 22, 2008 11:25 pm Subject: Retrieving WM_COMMAND parameters from a 3rd party app |
| You can intercept the WM_COMMAND message associated with a control within your own AHK program with OnMessage. OnMessage associates a function with a message. The function can have up to four parame ... |
Topic: How to detect loss of focus in edit control - SOLVED |
dncarac
Replies: 0
Views: 344
|
Forum: Ask for Help Posted: Mon Feb 11, 2008 5:15 pm Subject: How to detect loss of focus in edit control - SOLVED |
| On more research, I found that the WM_KILLFOCUS message applied to windows. The killfocus message for controls is a notification: EN_KILLFOCUS, which is delivered to the window via a WM_COMMAND messa ... |
Topic: divisiable by four? easy for gurus |
dncarac
Replies: 2
Views: 99
|
Forum: Ask for Help Posted: Tue Jan 22, 2008 12:28 am Subject: divisiable by four? easy for gurus |
Bitwise exclusive-OR the number with 3, then check if the result is zero. If so, the number is divisible by four, if not, it is not.
To find the next higher number divisible-by-four, bitwise shi ... |
Topic: On Screen Keyboard clickable |
dncarac
Replies: 4
Views: 168
|
Forum: Ask for Help Posted: Mon Jan 07, 2008 12:42 am Subject: Numeric only |
And here's that same keyboard modified for only numeric keys. Again, I think it's easily understood so it may be modified as you wish.
ControlWidth=150
;*** Keyboard data
KeySize=27 ; Pix ... |
Topic: On Screen Keyboard clickable |
dncarac
Replies: 4
Views: 168
|
Forum: Ask for Help Posted: Mon Jan 07, 2008 12:05 am Subject: On Screen Keyboard clickable |
Here's one I wrote. It's not full featured, but it's short and sweet. There are a list of constants which may be changed to change the layout. I think it's understandable enough to be customized.
... |
Topic: Gui, Submit - opposite |
dncarac
Replies: 6
Views: 259
|
Forum: Ask for Help Posted: Mon Dec 24, 2007 4:13 pm Subject: Gui, Submit - opposite |
| I do, but I am in the process of adding and subtracting controls. Each time I do, I have to update the list of GuiControl's to update the control from the file data. Not really a big deal, but this ... |
Topic: Gui, Submit - opposite |
dncarac
Replies: 6
Views: 259
|
Forum: Ask for Help Posted: Mon Dec 24, 2007 2:56 pm Subject: Gui, Submit - opposite |
| Thanks. I had thought of that too. So, given that there is no existing function, is there some sort of "enumerate control IDs" function for a GUI? |
Topic: Gui, Submit - opposite |
dncarac
Replies: 6
Views: 259
|
Forum: Ask for Help Posted: Mon Dec 24, 2007 2:26 am Subject: Gui, Submit - opposite |
Sorry. But aren't w h x y related to location of a control?
I'm talking about a single function for simultaneously setting data from associated variables INTO all the controls (wherever they are ... |
| |