Hey,
I apologise for the noobishness of this question, but I am unable to move the form.

if (Screen::PrimaryScreen->Bounds.Top != Screen::PrimaryScreen->WorkingArea.Top)
 {
	 this->Left = Screen::PrimaryScreen->Bounds.Right - this->Width;
	 this->Top = Screen::PrimaryScreen->WorkingArea.Top;
 }
 else if (Screen::PrimaryScreen->Bounds.Left != Screen::PrimaryScreen->WorkingArea.Left)
 {
	 this->Left = Screen::PrimaryScreen->WorkingArea.Left;
	 this->Top = Screen::PrimaryScreen->WorkingArea.Bottom - this->Height;
 }
 else
 {
	 this->Left = Screen::PrimaryScreen->WorkingArea.Right - this->Width;
	 this->Top = Screen::PrimaryScreen->WorkingArea.Bottom - this->Height;
 }

This worked fine in C#. What am I doing wrong?

What's the error message that you are getting?

No error message. No movement. I try to do This->Top = 0; no avail.

I put the code you posted into a button click method and when I clicked it, the window went to the lower right hand corner.

I try to do This->Top = 0; no avail.

What happens when you do that?

What happens when you do that?

Nothing happens at all; the window does not move.

Try putting it in a winforms project by itself as the code for a button click handler and see if it works. Otherwise there could be something in your code that's preventing it (unless for some reason it won't let you go to 0 due to window thickness but that's just idle speculation).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.