Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - [SOLVED]: Group row icons appear without defined!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED]: Group row icons appear without defined!

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED]: Group row icons appear without defined!
    Posted: 21 December 2011 at 9:01am
Hi;

Where do these icons come from?
I haven't defined any images for row items (only one header columns shows an icon -- see blue circle) but nevertheless a group row image appears for every column I drag into the group area!
Strange!



The first groupable column has the icon specified in its header, all other are left default XTP_NO_ICON.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 21 December 2011 at 5:24pm
SORRY!

Found the problem - uninitialized variable...

Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2011 at 3:37am
Did you add an icon with IconIndex 0? Because default value of a new Item is 0 I think.
I  had a similar problem with the popupcontrol and had to set the IconIndex for an item to 0.
 
The first indexnumber for an array in VB is 1 not 0 (you can change this to 0 I believe, but is not the default). Maybe that's why this goes wrong too in MFC?. A mixup of what the first array index should be?
Product: Xtreme SuitePro (ActiveX) version 15.3.1

Platform: Windows XP (32bit) - SP 3 (on VMWare)

Language: Visual Basic 6.0



Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 22 December 2011 at 11:37am
No;
It's definitely been a non initialized variable of my report class.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.172 seconds.