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:
//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
}
}
}
//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.