Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving button

Status
Not open for further replies.

misvcpp

Programmer
Nov 2, 2005
2
PL
I'm trying to make a button, which position changes after client window resizing.
After placing the mbutton1.Create(...) in CmyView.OninitialUpdate() its position remains unchanged.

Is there a way to make the button move after window resizing ?
 
You can use the MoveWindow function to change the size and position of the button.
 

So simple, and yet so difficult to find :).

Thanks very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top