Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTResizeFormView: Hidden controls won't be sizing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTResizeFormView: Hidden controls won't be sizing

 Post Reply Post Reply
Author
Message
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Topic: CXTResizeFormView: Hidden controls won't be sizing
    Posted: 04 October 2010 at 8:43am
Hi @all,

I'm using SetResize in a derived class of CXTResizeFormView.

The problem is, hidden controls [ShowWindow(FALSE)] won't be sizing.

Some controls are shown after sizing, but the position isn't correct.
If they are visible, the same procedure works.

What could be the problem?

For any help I'll be glad!

Best regards
FS
Back to Top
FSauer View Drop Down
Groupie
Groupie
Avatar

Joined: 10 May 2006
Location: Germany
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote FSauer Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2010 at 10:50am
The control, which isn't correct moving, is an activeX.

If it's visible, it is correct moving.

I did a test:
Only hide and show it again move the ocx control to another position! Why?
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2010 at 1:29pm
Same problem here:
 
It's a mystery, indeed. I still believe this is a CXTResize bug...
PokerMemento - http://www.pokermemento.com/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.157 seconds.