Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTFlatEdit and scrolling
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTFlatEdit and scrolling

 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: CXTFlatEdit and scrolling
    Posted: 23 October 2009 at 4:19am
Hello @all,

i'm using an CXTFlatEdit Control (Multiline; Vert. scrollbar, Horiz. scrollbar, auto. Vert. scrollbar and auto. Horiz. scrollbar are true).

My Problem:
The Scrollbar appears only for a short time.
Whenever the Scrollbar was available it seems to be redraw and the scrollbar isn't further visible.

For any idear i'm really glad!!!
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: 03 November 2009 at 4:21am
Is this a general problem of this Class or could it be in my code?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2009 at 7:45am
Hi,
 
Yes, unfortuantelly CXTFlatEdit  can't work with scrollbars together.
 
Try CXTPEdit instead.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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: 03 November 2009 at 8:52am
Hi Oleg,
I used CXTFlatEdit for its flat property.
Now, i'm using CXTPEdit, but the flat look is lost! 
But I'm affraid you can't have it all?!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2009 at 7:05am
Hi,
 
Call m_wndEdit.SetTheme(xtpControlThemeOfficeXP); and maybe m_wndEdit.SetFlatStyle(TRUE)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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 November 2009 at 8:36am
Hi Oleg,

SetTheme(...); seems not available in CXTPEdit. And xtpControlThemeOfficeXP isn't known?

I'm using Xtreme ToolkitPro v12.0.2.
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.187 seconds.