+ Reply to Thread
Results 1 to 2 of 2

Thread: Chane window position using SetWindowPos

  1. #1

    Chane window position using SetWindowPos

    How to change window position using SetWindowPos? Following code does not work:

    SetWindowPos(m_hWnd, NULL, x, y, 10, 10, SWP_SHOWWINDOW);
    Ami I missing anything? Please help.

  2. #2
    Senior Member
    Join Date
    Feb 2012
    You should either use SetWindowPos without SWP_SHOWWINDOW. Or use MoveWindow API.

+ Reply to Thread

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts