I am having computer problems with my old (5 or 6 years (maybe more)) windows 98 computer. We do virus scans and other computer utilities (defragmenting etc) often. However, now we have a problem...
Type: Posts; User: Olidivera
I am having computer problems with my old (5 or 6 years (maybe more)) windows 98 computer. We do virus scans and other computer utilities (defragmenting etc) often. However, now we have a problem...
Look, I am not as good as you people at this.
I found the LoadMenu line in my code...
SetMenu(hwnd,LoadMenu(hinstance, "MYMENU"));
...and I tried everything from it, but nothing is...
Would you mind elaborating on that a bit? That doesn't help me at all.
Sorry if I'm sounding silly...but what do you mean?
I tried that, but I get the error that hMenu is undeclared. What is supposed to be there? Sorry if this seems obvious to you, I'm not the best at this :D .
How can I make it so that a menu item starts out grayed, but then when two variables are at a certain value, it becomes ungrayed and accessable?
I am using Dev C++
Platform: Windows XP
Well I solved it, but the wierd thing is that you need to save the project in a new folder and then compile and it works.
I use Dev C++
Windows Xp
I am having problems with a menu on multiple programs. Once the code is complete, I compile it and everything works fine. However, when I go back to recompile it (without modifying the code) then the...
Is it possible to have a grayed out menu item which becomes accessable when two variables are at a certain value?
If so, how?
What is the best webhosting plan under $10 per month?
Where could I get a program that installs files into a certain directery that the user specifies?
Whenever you purchase a computer game, it has an auto installer type thing. I need that kind of...
Thanks for the help.
EDIT:
What's with the ...? Should something be there?
Well, I guess the checking menuitems is kinda over my head...
...but how about the variables? Shouldn't that be simple? This information is apparently not in that guide your talking about...
Not sure if this should go here or in the C++ forum, so ill try here.
I want to make a simple program, which creates a window (I got that part done). When the window opens, it displays a number (a...
1. How do you create a link in the text of a certain menu item to another menu item?
For example, you have the text "Click here to save!" (example, won't really save) in the menu item File -->...
Thanks a bunch. This helped a lot. :D
I have 2 questions about menus + windows:
1. How do you create subcatagories for menus? Such as:
File -> New -> Project?
I asked before, and tried what people suggested, but it didn't work....
The text is displayed with the code:
TextOut(hdc,0,0,"Text",strlen("Text. Don't know why there is a second one..."));
Yeah, i guess it is Win32... Since i'm sorta new to C++, all these...
Well, its not a console, so I'd guess its a GUI (not sure)
My compiler is Dev C++
My comp is windows xp.
Im not sure if this is the right forum, but ill ask anyway.
I have a program which creates a window with a menu. If you click on an element of the menu (such as help -> about) then it displays...
I've been experimenting with menus recently and I have one question, that I believe my book doesn't go over...
How do you make a subcatagory for a menu item? Such as:
File -> New ->Project
...
I'd like to see your blackjack game, because I don't really understand this linked list business. Does the list reset after the game is over (the poker game ends and you restart with new random...
I have a new problem now. If I run the program over and over and over (ect.) again, then it doesn't seem to stay random. Sometimes it repeats the same card over and over. Is there some problem in my...
Ugh, I get it...
Thanks for pointing that out, cause I thought something was wrong with it...
EDIT: So should the srand() go after the int and before the choosing?
Ok I fixed the code so it works now, but there still seems to be some sort of error.
New Code:
#include <iostream>
using namespace std;
int main ( int argc , char** argv )
{
// --...