Author Topic: Enable tooltips for the Select game dialog...  (Read 10916 times)

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
Re: Enable tooltips for the Select game dialog...
« Reply #15 on: October 12, 2010, 11:06:26 PM »
Just for the record, this would be the most appropriate way to initiate the structure  :smilie:.

Code: [Select]
TOOLINFO ti;
memset(&ti, 0, sizeof(TOOLINFO));

I'm not saying the other code doesn't work but, imagine this, Commctrl.h is updated in the future, and includes new structure members, now when we compile we will definitely encounter problems if we initiated every structure in our application using a 'constant' style. If we use 'memset' with 'sizeof(TOOLINFO)' then we will not have any problems, even if there are more structure members added in the future.

SeeYaa!
 :biggrin:
+1... Someday this will be updated (Windows API is changing since windows vista...)

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...