Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ReportControl Dialog Border
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ReportControl Dialog Border

 Post Reply Post Reply
Author
Message
LarryWaugh View Drop Down
Newbie
Newbie


Joined: 25 May 2004
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote LarryWaugh Quote  Post ReplyReply Direct Link To This Post Topic: ReportControl Dialog Border
    Posted: 07 February 2006 at 4:29pm
How do I get a border around a report control when the report control is on a dialog. Using ModifyStyle(0, WS_BORDER) doesn't seem to do the trick.

Using the tree view dialog in the report sample I am unable to get a border around the control.

Thanks in advance.

Larry
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 08 February 2006 at 12:16am

You can open resource editor and set style = 0x50810000.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
LarryWaugh View Drop Down
Newbie
Newbie


Joined: 25 May 2004
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote LarryWaugh Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2006 at 10:09am
Thank you Oleg. Timely and correct as always.
Back to Top
ingo View Drop Down
Newbie
Newbie


Joined: 10 March 2006
Location: Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ingo Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2006 at 5:52am
Setting WS_BORDER gives a 3D border. Is it possible to have the same border as the list control in Windows XP (thin blue frame)?

Thanks,
Ingo.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2006 at 2:14pm
Try to use WS_EX_STATICEDGE style, or in resource editor: ExStyle = 0x00020000

--
WBR,
Serge
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.063 seconds.