Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Working with the Gui_VisStudio 7 Sample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Working with the Gui_VisStudio 7 Sample

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

Joined: 09 May 2003
Location: United States
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote jwhagen Quote  Post ReplyReply Direct Link To This Post Topic: Working with the Gui_VisStudio 7 Sample
    Posted: 29 May 2003 at 10:05pm

I am working with the sample project trying to understand how to update each pane. I am presently working in the TaskBarList, trying to write data to the list. I am successful but only up to a point. I am able to write 24 items (0x0019) to the list, regardless of what I do. Here is a snippet:

m_listCtrl.SetItemCount(1024);

int n = m_listCtrl.GetItemCount(); <== n=0x0019 at this point

ASSERT(m_listCtrl.GetItemCount() == 1024);

It always asserts and I can only display 24 lines of code. I take it the SetItemCount() is not working but I don't know why. Suggestions?

Thanks!

John Hagen



Edited by jwhagen
Back to Top
jwhagen View Drop Down
Groupie
Groupie
Avatar

Joined: 09 May 2003
Location: United States
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote jwhagen Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2003 at 8:11am

Ok, I admit it... Sometimes I fail to look far enough for the answer. I did find out where the limitation of the TaskBarList was coming from and have resolved the problem myself.

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.145 seconds.