| | |
I need help again
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Oct 2006
Posts: 90
Reputation:
Solved Threads: 1
I have recently began programming in the windows api rather than the command prompt\ms-dos environment.
I am still using windows 98 and bloodshed dev-cpp 4.9.9.2.
I need to know how to disable the START MENU, TASK BAR, and the little boxes in the top right hand corner of the application {Minimize, Restore, Maximize, and Close (1 at a time)} I also need to know how to make a password box rather than meere text\edit, how to set up tabs, how to center objects\elements(Buttons,text,checkboxes...) I will also need to know how to make my app fullscreen, but still have a title bar.
Another problem i have is comparing strings\character arrays...I have to compare the one char. at a time
Example:
//The above is actually being done in a windows api program with text
//boxes and buttons, but that file was much to unorganized to put here
I appreciate any answers to any or all of my questions...Constructive criticism welcome.
I am still using windows 98 and bloodshed dev-cpp 4.9.9.2.
I need to know how to disable the START MENU, TASK BAR, and the little boxes in the top right hand corner of the application {Minimize, Restore, Maximize, and Close (1 at a time)} I also need to know how to make a password box rather than meere text\edit, how to set up tabs, how to center objects\elements(Buttons,text,checkboxes...) I will also need to know how to make my app fullscreen, but still have a title bar.
Another problem i have is comparing strings\character arrays...I have to compare the one char. at a time
Example:
cpp Syntax (Toggle Plain Text)
//includes char Compare1[] = "Yellow house"; char Compare2[13]; //Still having trouble with cin.get //This is what I want to do cin >> Compare2 //Type "Yellow house" if (Compare1 == Compare2) { cout << "Compare1 == Compare2"; } else { cout << "Compare1 != Compare2"; } //End of what I have to do //Even when I type the text exactly the same it still says it isn't the //same... I know that the above cin would more than likely skip the //spaces\white space, but even when the string has no white spaces it //still does it. //This is what I have to do if (Compare1[0] == Compare2[0]) { if (Compare1[1] == Compare2[1]) { if (Compare1[2] == Compare2[2]) { //and so on until all characters are compared } } }
//boxes and buttons, but that file was much to unorganized to put here
I appreciate any answers to any or all of my questions...Constructive criticism welcome.
Last edited by WaltP; Nov 27th, 2006 at 3:17 am. Reason: Added code tags
Before you jump into windows programming with both feet, you should read this intoductory tutorial.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
•
•
Before you jump into windows programming with both feet, you should read this intoductory tutorial.

and this, the Keep It Organized section at least.
Last edited by WaltP; Nov 27th, 2006 at 3:18 am.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
>>if (Compare1 == Compare2)
you can not compare C character arrays like that. All that is doing is comparing two addresses, not the strings. use strcmp() for that
you can not compare C character arrays like that. All that is doing is comparing two addresses, not the strings. use strcmp() for that
C++ Syntax (Toggle Plain Text)
if( strcmp(Compare1, Compar2) == 0) { // the two strings are the same }
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
•
•
I am sorry for my mistake...I had no idea I HAD to encase the code in tags...I thought it was optional.
It is optional, DaniWeb does not enforce that rule, but moderators do. -- If you don't follow the rules then you will greatly decrease the probability that anyone will take you very seriously and answer the question. Many people see unformatted code and just ignore the whole thread.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Oct 2006
Posts: 90
Reputation:
Solved Threads: 1
I have looked and looked for a good tutorial covering c++ api programming and the only downloadable one that is even remotely close (Yet still so far away) to what I am looking for is the one by theForger...If anyone can recommend a good tutorial that is for both experienced and very inexperienced programmers, I would be very grateful!
•
•
Join Date: Oct 2006
Posts: 90
Reputation:
Solved Threads: 1
No one has even said ANYTHING about disabling the start menu...In the mean time I have found out how to not allow a user to click it, but they can still use the windows key (on the keyboard to access it...I have already been accused of trying to make viruses on other sites, but I am actually trying to lock my computer from unwanted access (little brothers, sisters) So if anyone could tell me how to do it that would be wonderful.
•
•
•
•
No one has even said ANYTHING about disabling the start menu...In the mean time I have found out how to not allow a user to click it, but they can still use the windows key (on the keyboard to access it...I have already been accused of trying to make viruses on other sites, but I am actually trying to lock my computer from unwanted access (little brothers, sisters) So if anyone could tell me how to do it that would be wonderful.
![]() |
Other Threads in the C++ Forum
- Previous Thread: int mixed always returns huge negative number
- Next Thread: how to copy adirectory in C programming
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion count data database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game getline google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text text-file tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






