Ahhhhhhhh. This isn't a problem with your code, this is a style issue in XP.
XP automatically removes the underlines from ALT keys.
go to
This msdn site and look for something called...
Type: Posts; User: bluecoder
Ahhhhhhhh. This isn't a problem with your code, this is a style issue in XP.
XP automatically removes the underlines from ALT keys.
go to
This msdn site and look for something called...
How would I initiate command prompt execution within a windows execution?
For example, say I had a popup dialog in which I could paste a URL, and upon clicking "Ok" it would call a program that...
Hmmm... how does the program know its own filename?
Did you know that any windows process has a handle to itself? It's easy enough to get that:
char szFileName[MAX_PATH];
...
Hmmm exactly what is it that doesn't work? Without your resource file, I can't compile and run your code to find out. Everything looks ok on the surface but I can't tell if there are any runtime...
Easy stuff. Rewrote a small program of mine to popup a message box when the WM_DESTROY message is processed. Used CTLALTDEL to shut down the program and BAM! Good ole' message box came up letting...
Hey Daniel,
Lookin' pretty good there! :) What a neat simple little browser. I noted that it's a little slower than IE, but overall I like it. Works well.
One suggestion, try adding...
Believe it or not, you actually CAN view the resource code in VC 6.0, but I've only been able to when the error in my program occurs in the resource file. Otherwise I can't find any command that...
I've had that happen before... try ShowWindow(). That worked for me. Different reason but the same effect. I could see other windows through my program and I couldn't click anything on it.
Hmmmm.... I'm not sure. I've never seen that before... post (or send me) your code and I'll take a look. Preferrably zip it up and I'll download it.
I didn't take computer programming classes.
I have taken computer science classes, which are markedly different. The character of a computer science class teaches you abstractions about...
People love to talk about the "theoretical hardware limit" that is supposedly going to be "reached".
Total tripe. While silicon based computing may be reaching its limits due to the limitations...
I think it's pointless (or at least mostly so) to take programming classes if you don't already know programming. Teachers for programming have one of two problems:
1. They assume you are...
Control messages are routed through a message called WM_COMMAND
You need a switch case to handle the WM_COMMAND message, which will carry the ID_FILE_EXIT message. So inside your first switch,...
I think the subject says it all -
In a previous post, you mention that Windows programming can be done in lots of languages, not just C++ (a fact I already knew)... but then you go on to say that...
Tried that... doesn't work. In fact, nothing seems to work. No matter where I put it, it never makes a maximized window.. grrr....
There has been alot of discussion on the C/C++ boards, as well as this one, about how to restart the system (or shutdown).
I posted this code in response to a thread on the C++ board, but not...
Well presumably you'd use WS_MAXIMIZE when you specify the windows style in the CreateWindowEx() function. But when I do that, it removes the X, minimize, maximize boxes, and makes the window...
So is www.winprog.org.
They're the same tutorial.
The same one.
Just on different sites.
The Forger has simply posted an updated version of the tutorial on the winprog site... "version...
A good one is also
www.winprog.org/tutorial
He includes a tinsy bit of C++ but it is almost exclusively C. And the little bit of C++ there is, you really can't get around simply because of the...
Man, I'm not going to do all your work for you - you have to sit there and work out how to use these things.
We all go through it - every one of us here.
I just made a new window, using...
H'lo Bluehead:
The answers to your questions are available in the tutorials.
Or go to www.winprog.org/tutorial
Very good site, and the tutorial explicitly answers all of your questions.
...
I'm not sure about this -
Try removing the second message from each of the cases. From what I'm reading on MSDN, using BS_DEFPUSHBUTTON will do the job you want, without the need to set the...
I suggest you search msdn for that:
msdn.microsoft.com
Windows XP does it by default and MSDN is literally SOAKING in functions that do this.
Windows loves to auto read discs. It does it...
Well, ExitWindows() may be a strike out, but I have found a workaround...
The following site on MSDN utilizes a function called InitiateSystemShutdown().
...
Struck out on all counts..
KaZaa only turns up 3 love songs containing the word "reason".
Google seems to think that reason.h is two words, reason and h, and won't search for them together, no...