Search:
Type: Posts; User: Austin.Soucy
Search:
Search took 0.04 seconds.
-
February 23rd, 2011, 01:13 AM
One link is not going to show you how to do this. I have never implemented anything this large and since I have been looking for a new project i might just try my hand at this as well.
...
-
February 22nd, 2011, 11:49 PM
If I remember correctly from the movie, there was a subtle difference in what their program did. The letters given to their program were not used more than once unless they were entered more than...
-
February 20th, 2011, 02:02 AM
Well using Win32 API your window will receive WM_LBUTTONDOWN and WM_LBUTTONUP messages. If the user clicks and drags then these two messages will have different coords. You could write a custom...
-
February 17th, 2011, 11:28 PM
Yes. The only way your program can get out of that loop is by changing correctchoice to something other than zero(you could also use bool here). So you should only allow your program to change...
-
February 17th, 2011, 09:59 PM
In this case you can think of the 'else' as your Error Handling code. This is what will happen if the user inputs a bad value. Typically I would not ask for the user input again in the else...
-
February 17th, 2011, 04:37 PM
Then what happens if the user inputs an invalid choice twice in a row?
Here is a solution to your problem. This will fix your issue with the least amount of changes.
int main()
{
char...
-
February 17th, 2011, 09:14 AM
/***************************\
| Degree Converter |
| Code By: Ben Brotsker |
| Last Mod: 02/16/11 |
\***************************/
#include <iostream>
#include <iomanip>
using namespace std;
-
February 16th, 2011, 12:36 PM
Unfortunately I am stumped at this point...I tried :(
If you are using the correct HWND and passing correct client coords I see no reason that it should not work. Maybe if you post your full code...
-
February 16th, 2011, 06:32 AM
Your question might receive better input from the VB6 forum located here.
-
February 15th, 2011, 06:07 AM
I have no idea what that code says but try right clicking your app and selecting 'Run as Administrator'.
-
February 14th, 2011, 04:31 PM
Try passing your child windows to this before the click.
ScreenToClient(handles[i], &pt);
You can also use ShowWindow() to maximize your window and then work with screen coords(probably...
-
February 14th, 2011, 01:20 PM
-
February 14th, 2011, 01:05 PM
You are using WM_RBUTTONDOWN, don't you need WM_LBUTTONDOWN?
Try looping through the child windows and storing them in HWND hWnd[10]; Then use PostMessage() to send a WM_LBUTTONDOWN to each child...
-
February 14th, 2011, 04:13 AM
Yes, there is an application level service that responds to ICMP Echo Requests. Here is another good reference that will introduce RFC 1122, which states all hosts MUST offer this service.
But...
-
February 14th, 2011, 01:27 AM
Specifically, you send an ICMP Echo Request and wait for an ICMP Echo Response. RFC 792 outlines ICMP. You will see that there are many types of ICMP messages.
ICMP does not use a port. ...
-
February 13th, 2011, 10:08 PM
If you can exit your application correctly from just one of the windows procedures then add the case to that and do your work there. I don't see why you wouldn't be able to exit the app from your...
-
February 13th, 2011, 09:39 PM
I recently created a similar tool for a friend of mine. I used PostMessage() instead of SendMessage().
I wish I could give a good reference but I had to lose myself in google to find the...
-
February 13th, 2011, 02:32 PM
This is exactly what I needed thank you!
Interestingly enough, this thread shows up on your google search already. Last one on the first page! :p
-
February 13th, 2011, 08:21 AM
Hello all,
I'm trying to validate the input for an IP address. I'm getting a little bit tied up on the logic of it...
The only thing I can really come up with is this:
-Take the IP...
-
February 13th, 2011, 08:11 AM
Is this a Win32 GUI app or Win32 Console app?
For a Win32 GUI you will need to add a case to your message loop for the ESC key. When the ESC key is pressed, tie up your loose ends and exit the...
-
February 12th, 2011, 06:43 PM
You need to set your NIC in promiscuous mode to listen to the traffic that passes over it, then you can inspect the data yourself.
-
February 12th, 2011, 08:36 AM
I assume you are talking about a client that you did not create?
You can do this by setting up a raw socket and putting it in promiscuous mode. Then you can listen to any data passing through...
-
February 8th, 2011, 10:31 AM
Anyways, here is how I do it:
SOCKET hSocket;
int iResult = 0;
char ipaddress[18] = {NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL};
int pnum =...
-
February 8th, 2011, 10:21 AM
Check out MSDN.
There is some great information here. It is tough to get through at first because there is a lot of jargon. But once you start to learn the terms it makes sense.
Hope this...
-
February 6th, 2011, 03:49 PM
Loops are tough at first. I find that commenting each step of the loop with what is happening helps me visualize better.
for (int i = 0; i < totalDays; i++)
{
cout << (1 + i) << "\t"; ...
|
Click Here to Expand Forum to Full Width
|