FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pls add more treeview constants

 
Post new topic   Reply to topic     Forum Index -> Core32
View previous topic :: View next topic  
Author Message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Sat Oct 09, 2004 7:59 am    Post subject: Pls add more treeview constants Reply with quote

There are additional treeview constants in the Windows Include\COMMCTRL.H that depend of how _WIN32_IE is defined. My impression is that Win95 came with IE 4.0.

At least the following would be appreciated for the project I'm working on.

#if (_WIN32_IE >= 0x0300)
#define TVS_RTLREADING 0x0040
#define TVS_NOTOOLTIPS 0x0080
#define TVS_CHECKBOXES 0x0100
#define TVS_TRACKSELECT 0x0200
#if (_WIN32_IE >= 0x0400)
#define TVS_SINGLEEXPAND 0x0400
#define TVS_INFOTIP 0x0800
#define TVS_FULLROWSELECT 0x1000
#define TVS_NOSCROLL 0x2000
#define TVS_NONEVENHEIGHT 0x4000
#endif
#endif

Code:

enum {
TVS_RTLREADING          =0x0040,
TVS_NOTOOLTIPS          =0x0080,
TVS_CHECKBOXES          =0x0100,
TVS_TRACKSELECT         =0x0200,
TVS_SINGLEEXPAND        =0x0400,
TVS_INFOTIP             =0x0800,
TVS_FULLROWSELECT       =0x1000,
TVS_NOSCROLL            =0x2000,
TVS_NONEVENHEIGHT       =0x4000
}
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Sat Oct 09, 2004 12:10 pm    Post subject: Re: Pls add more treeview constants Reply with quote

Lynn wrote:
There are additional treeview constants in the Windows Include\COMMCTRL.H that depend of how _WIN32_IE is defined. My impression is that Win95 came with IE 4.0.
Actually, I'm pretty sure Win95 came with IE 3.0, but I suspect fewer people are using Win95 every day. And Win95 users should be able to upgrade their IE. I can't think of a reason to leave those out (how many people don't have at least IE 4.0 installed?). I did include comments in the code to mention the IE version requirements.

I updated the SVN and created a new .zip: core32_2004.10.09.zip

Thanks for the suggestion.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Core32 All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group