![]() |
Resize & hide edit |
Post Reply
|
| Author | |
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Topic: Resize & hide editPosted: 15 April 2008 at 11:02am |
|
Hello,
i have 2 edit on a XTResize dialog. One is visible and the other is invisible. After resize the dialog, both edit are visible. Why ? Jimmy |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 11:20am |
|
Hi,
Forgotten to say, that one of the edit is a CXTHexEdit. I think there is a problem in the CXTHexEdit::OnSize, if the control is hidden. Jimmy |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 11:23am |
|
Also see
SetRedraw(false); but SetRedraw have BOOL not bool. Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 11:52am |
|
Hi,
Hm. How do you hide it ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 12:30pm |
|
ShowWindow(SW_HIDE)
It's v11.1.3. Also tested with 12.0b3 Put m_editHex.ShowWindow(SW_HIDE); on end of OnInitDialog from HexEdit sample. Jimmy |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2008 at 4:03am |
|
Hello,
In DoVScroll(UINT nSBCode, bool bMoveCaret) SetRedraw(true) is calling. And this make the hidden window visible. Please correct this for finished 12.0. Thanks Jimmy |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2008 at 4:28am |
|
Hi,
Indeed. :( Fixed. Thanks.
Strange that SetRedraw API shows hidden window....
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |