- the GetWindowRect() give me the window size and position;
- the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others;
so when 1 image is more big than client size, what size i can use? DC size?
and if a child window position is more big than client size??? what size do i need? the DC size do the job?
cambalinho 142 Practically a Posting Shark
Recommended Answers
Jump to PostWhich size to use depends on what you want to use that size for, and I am not clear what you are trying to do. Can you give some more detail?
Also note that a DC (Device Context) doesn't really have a size. It is an infinite plane for you …
Jump to PostI don't have an answer to this but I believe the OP means if the content of a window holds an image or multiple images or some other content which is bigger than the physical window size (so I'd assume it would have scroll bars), then the size of the …
Jump to PostI really do not mean to appear negative, as this interested me enough to do a search myself looking for ways and or an API, a search which unfortunately came up short. Of course that does not mean there is no API.
But what I concluded was that it must …
All 11 Replies
SalmiSoft 102 Junior Poster
Suzie999 245 Coding Hobbyist
cambalinho commented: thanks for correct my english too +2
SalmiSoft 102 Junior Poster
cambalinho 142 Practically a Posting Shark
Suzie999 245 Coding Hobbyist
cambalinho 142 Practically a Posting Shark
Suzie999 245 Coding Hobbyist
cambalinho 142 Practically a Posting Shark
triumphost 120 Posting Whiz
SalmiSoft 102 Junior Poster
cambalinho 142 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.