I am totally a newbie in windows programming and I have got a textbox which is to display text when the main gui i.e form1 is resized but the event is not firing. Any pointers as th why this is happening would appreciated.
private: System::Void Form1_Resize(System::Object^ sender, System::EventArgs^ e) {
//int newFormWidth = this->Width;
textBox1->Text = "Obi";
}
If you look in the region that has the Windows Form Designer generated code you have an InitializeComponent method.Check to see if you have the handler hooked up to your event. it should look something like this.