![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3
![]() |
Windows Form in .Net
Im using visual studio.net 2003.. and want to re-size my Form to the maximum possible size. I know i can resize my window using the Size property like this:
this->Size = Drawing::Size(500,500); thanks.. Btw: Does visual studio.net 2005 and the latest .Net Framework have a Designer for GUI applications for c++. i.e: you can create forms simply by dragging and dropping controls? Last edited by hbe02; Aug 6th, 2006 at 7:44 PM. |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
This question has nothing to do with C++. You're far better off potsing it in the C# forum, even though it's not in that language. Microsoft's .Net bastardization of C++ is not C++.
By the way, are you actually in Lebanon? o.O Good luck.
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#3 |
|
Expert Programmer
|
uman, I wouldn't bash him too badly. We don't have a Visual C++.Net forum, and that code ain't close enough to C#. I'd say he would probably get better results in this forum. Although the name could seem a bit off topic. As for MS's basterdization of C++, I wouldn't know.
@OP - First off, yes VS2005 does have the ability to drag and drop controls and what not. It's basiclly an updated version VS2003. As for your first question, I don't know the code in C++ to maximize the window, but each form has a windowstate property. You can use that to set the initial state of the window. i.e: Minimized, Normal or Maximized. |
|
|
|
|
|
#4 |
|
Programmer
Join Date: Jul 2006
Location: England
Posts: 43
Rep Power: 0
![]() |
@uman MS dont even call it C++ they call it C++/CLI so its not C++. Your statment is like saying C# is the bastardization of java.
@hbe02, i have found C++/CLI only usefull for porting C++ code and C++ programmers to .net. If its a fresh project and your not a C++ mad man then go for c#. Its much cleaner language and its simpler to understand whats happening. Hey i would just like to add that i feel deeply sad for the war crimes the Israelis are commiting in your country. I even feel ashamed to be british when our prime minister does not care what happens to the inncoent civilians in the Lebanon. I hope that no member of your family or your frinends have not been effected/hurt/killed by the shamefull events. Best of luck for the future. ![]() Flame me for that stament if you like i dont give a shit. Its my view and im entitled to it. |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
On topic: This post is the right forum and C# is a cleaner language.
Off Topic: I completely agree JimmyJim. The Israeli's didn't even drop leaflets days before they bombed. Its not like the Israeli's left southern Lebanon several years ago on the condition that Hezbollah wouldn't be armed by the teeth by Iran and Syria. If the Israelis had just let the UN that has been for years handle the would thing, after all the UN has done a pretty good job of disarming Hezbollah so far. Can you believe the audacity of Israeli, I heard they even moved the 13,000+ rockets that Hezbollah has under schools, hospitals and then bombed them. Just to make sure they killed as many civilians as possible. *end sarcasm* Wake up, this is a war and civilians die. Israeli is already going way out of there way to not kill civilians. Dropping leaflets like this heavily hampers there ability to hit Hezbollah before they can run. Thousands of rockets have been launched at Israeli civilians after an unprovoked attack by Hezbollah, an Iranian armed terrorist organization that likes to store the weapons near civilians. Israeli gave back all the land under the promise the UN would handle things. The UN has been there for years and has not stopped Hezbollah from accumulating any of its weapons. You would think you Europeans would of learned after Hitler that you have to face people like this square in the eye and annihilate them. EDIT: Its Israeli right self defense, and their entitled to it. |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Oct 2005
Posts: 211
Rep Power: 4
![]() |
Guys, this is not the forum to discuss 'war crimes'... there is a lot of stuff going on over there with the conflict, and almost none of it has to do with programming.
-MBirchmeier |
|
|
|
|
|
#7 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Everyone is entitled to their view. No one is entitled to express it on a forum that specifically rules out political subjects.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Sorry DaWei, I guess I should looked through rules more carefully. Is this allowed in the lounge area of the forum? If so it would probably be best to just split off JimmyJim's and my post as a new thread their. Or even spin it off and lock it to keep the clutter down.
|
|
|
|
|
|
#9 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The applicable rule, #15, is:
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
|
#10 |
|
PFO Founder
![]() ![]() |
Yeah politics is completely banned from being talked about here, This is because we have ran into problems with people flaming others because of there thoughts. Everyone has there views, and most people feel very strongly for there own views that they are willing to flame others who don't agree with them so that is why we do not allow any politics of any type on this site.
hbe02, Did you get your question answered here? If not would you please repost your question so that the thread doesn't contain the information that doesn't help anyone. Thanks
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command Prompt | SkyPioneer | Coder's Corner Lounge | 5 | May 3rd, 2006 11:07 PM |
| .NET Timer Form closing issue | MBirchmeier | C# | 4 | Nov 21st, 2005 11:00 AM |
| Z-Buffering in a Windows Form? | Wraith Daquell | Visual Basic .NET | 3 | May 25th, 2005 8:44 PM |
| "Not Responding" Message in Windows Form Application | G_Zola | C# | 1 | Apr 29th, 2005 11:15 AM |