+ Reply to Thread
Results 1 to 2 of 2

Thread: Changing window style using SetWindowLongPtr does not take effect. why?

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    26

    Changing window style using SetWindowLongPtr does not take effect. why?

    I am changing the window style using SetWindowLongPtr API but it does not taking effect

    SetWindowLongPtr(hWnd, GWL_EXSTYLE, some_new_style_here) ;

    Function gets succeeded but no effect on window.

    What could be the reason?

  2. #2
    Junior Member
    Join Date
    Apr 2012
    Posts
    43
    It is quite possible that you forgot to call SetWindowPos API after making a call to SetWindowLongPtr.

    Isn't it the case?

+ 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