Advertisement Jump to content


This topic is now archived and is closed to further replies.


Weird Win32 question

This topic is 5343 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using WTL's dialog resizer class on a modeless dialog. I wanted to put a status bar on there because it could show the hypertext link locations (instead of futzing around with tooltips and the like). The problem: Notice how the status bar cuts through the rich edit box. That isn't right. I created the status bar by putting a custom control in the VC dialog editor, setting the classname to be "msctls_statusbar32." It seems that dragging on a certain part of the gripper can make the status bar get left behind. I'm not really sure what to look at here, but I'd prefer not having to rewrite the code to use frame windows instead of dialogs. Source: Edit: seems to be when I resize the dialog using the bottom or top edges only. [edited by - antareus on June 1, 2004 10:29:57 AM]

Share this post

Link to post
Share on other sites
Solution: make sure you resize the status bar on X and Y events in the dialog resize map.

Sorry for the silly post, hopefully someone else can get a use out of it.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!