Skip to main content
gamedev.net
🔒 Locked

getSizeOfMenuBar() function!!!

Started by Dazed and Confused Mar 8, 2004 at 5:31 AM 6 replies 1.1k views
Original Post
Dazed and Confused
Dazed and Confused
Is there a function in C++ to find the size of the windows bar at the top of a window?
llyod
llyod
Not in C++, but at least one for whatever API you use.
davepermen
davepermen
you''re pretty Dazed and Confused, aren''t you?

well.. if your bar is made with opengl, then yes. i guess it''s with the win32 api, as all normal windows in windows are.. so i guess you should look there




If that''s not the help you''re after then you''re going to have to explain the problem better than what you have. - joanusdmentia

davepermen.net
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
llyod
llyod
http://msdn.microsoft.com/library/en-us/sysinfo/base/getsystemmetrics.asp
Evil Steve
Evil Steve
Use AdjustWindowRect() to get the size of the window from the size of the client area. Why do you want to do this anyway?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.