Results 1 to 2 of 2

Thread: Wm_size

  1. #1
    ChimpFace9000
    Guest

    Post

    I just made some changes to some variables and now i need to have all the controls on my dialog resize themselves. In the WM_SIZE message is all the code that will do it. How do i have windows send that message to my dialog with all the right information in wParam and lParam?

  2. #2
    Megatron
    Guest
    So basically you just want to send the WM_SIZE message?
    Code:
    RECT rc;
    
    /* width and height of client area. you can
    define your own if you want */
    GetClientRect(hWnd, &rc);
    SendMessage(hWnd, WM_SIZE, rc.right, rc.bottom);

Posting Permissions

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



Click Here to Expand Forum to Full Width