would this be possible?
im thinking of drawing 2 dialog boxes one has a bunch of controlls, and the other is just blank... then you click one of the controlls on the controll dialog, then click some where on the blank one, and it draws that controll on the blank dialog. why im asking this is, im working on a really crappy scripting language.
how it will work is you will have your file with the script in in, like
and so on, and all it will do is like refer to classes in my application drawing dynamic dialogs and what not, so i wanted to make some what of a mini visual enviroment for it, i know a visual enviroment is going to be hard, but what im wondering is, how would i get the coords of the dialog where the mouse is clicked, because im thinking this is how it could work...
//insert controll code here
3 text bokes for x,y,caption of the controll, then a list of buttons for like static text, buttons, check boxes etc. etc. and then after they put in the XY and caption and click the controll they want, it sets variables with the X,Y and caption, then when they click on the blank dialog it draws a button at those coords with the X,Y, and caption... what do yoiu guys think? would there be a better/easier way of doing this?
Look. This is like the 4th or 5th "neat" idea you have posted. Forget about it. Take your computer to a high mountain, and do nothing but code. Don't eat, don't sleep, and ignore the blistering cold. Just code. In Windows, of course. And after you have spent a long long time there, pack up your computer and return home, log in to Cprogramming.com and tell us something "neat".
Windows is like an F-16, except it is in a million pieces, none of which are labeled or documented, and certainly not assembled. People new to Windows underestimate the shear effort that is required to write a full-blown, maintainable, Windows application and instead just waste their time with these sorts of daydreams.
kinda hostile there buddy... im just looking for feedback.. if you dont like that... dont comment... it is infact a "PUBLIC" forum... its people like you that should goto the high mountain, but when you gewt there, instead of coding... jump off without a means of getting down safely...(parachute, hang glider, etc. etc.) this post may seem unnecesarily rude, but i have read some of your replies to other peoples posts, how do you expect people to learn without some one to take their hand and show them how its done, its kind of like being a little kid where you needed your mom or dad to hold your hand while you perfected walking... i have crawled now i want to walk... but how can i walk when the parrent pushes me away instead of helps me... do us a favor and dont have kids, they will probably grow up ........ed off at the world because you never give them the attention they needed, then one day they shoot up the school, and you and the rest of the blind society will blame it on video games and movies.
i think i have said enough.
I am being honest with you. You seem to have a lot of earnest desire to program. And you have some interesting ideas. But don't overwhelm yourself with complicated programs when you could be honing your skills mastering the hard part: the basics. ;)
If you find my replies insulting - don't read them. But my intention was to give you honest advice, not to criticize.
I didnt take offense to them =) i am beyond the point of taking insult from anything some one says on the internet, i was just pointing out that you could have "re-worded" some of your posts, if they dont come off as you trying to insult some one whatever it was you say, they are more apt to listen and take your advice of going off to mountains and build F-16's and what not =)
Sebastiani, you're right but DAMN you're harsh.
Labelism, you are starting an aweful lot of threads about similar ideas. perhaps you should just consider keeping most of them in one of your old threads. people don't like when the board gets flooded by someone with the same stuff.
i think thats what ill do from now on... next time i need some help or somthing, ill just create a thread and then from there on similar stuff will go in that =)
it didn't really bother me but I'm not an anal retentive board policeman.:eek:
what would you guys recomend for playing small wav files in your applications, right now im using
i was wondering what people think of playsound as compared to other methods like fmod and what not. its not really an app thats going to be demanding sound quality or anything, im just adding like custom alerts and such.
PlaySound if I remember correctly is nice and easy and uses a wav file directly. If that's all you're looking to do by all means use that. The alternative is much more difficult. If you want to send bytes to the sound card, there is an API (who's name eludes me) that you'll have to link into your project but it is available in VC++.
ok cool, i have my app playing a little chime sound when you exit, i was wondering how i could make it play the chime sound as you exit instead of before or after...
right now i have it set up to play the sound then close the app, but that slows down the closing of the app(not too much) and it doesnt seem very well coordinated, maybe its just my exit sound is too long, or maybe im being really picky.