Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

How to get the width and height of frame

Hi,

I am displaying BMP in frame. I have handle(hwnd) for that frame. How can i get width and height of that frame.

Thanking you
Vihar
0
vihar123
Asked:
vihar123
  • 2
1 Solution
 
AlexFMCommented:
Use GetWindowRect function.
0
 
AlexFMCommented:
Possibly you need GetClientRect to get size of client area and not the whole frame.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now