+ 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:

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

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

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

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