Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGet column count of listcontrol ? Pin
dlhson17-Jun-02 9:40
dlhson17-Jun-02 9:40 
AnswerRe: Get column count of listcontrol ? Pin
Ramu Pulipati17-Jun-02 9:51
Ramu Pulipati17-Jun-02 9:51 
QuestionCalculate width for ownerdraw menus for OnMeasureItem??? Pin
Patric_J17-Jun-02 9:16
Patric_J17-Jun-02 9:16 
QuestionHow do i add one of those arrows on a column? Pin
redeemer17-Jun-02 8:42
redeemer17-Jun-02 8:42 
AnswerRe: How do i add one of those arrows on a column? Pin
Chris Losinger17-Jun-02 9:16
professionalChris Losinger17-Jun-02 9:16 
AnswerRe: How do i add one of those arrows on a column? Pin
James R. Twine17-Jun-02 9:16
James R. Twine17-Jun-02 9:16 
GeneralRe: How do i add one of those arrows on a column? Pin
redeemer17-Jun-02 9:37
redeemer17-Jun-02 9:37 
GeneralRe: How do i add one of those arrows on a column? Pin
James R. Twine17-Jun-02 11:32
James R. Twine17-Jun-02 11:32 
   You set those flags in the HDITEM structure which is used to directly manipulate Header Control items.  You can get the Header Control from a ListView Control by sending it a message (or using CListCtrl::GetHeaderCtrl()).

   The reason they are showing up as undefined identifiers is because you have to set your _WIN32_WINNT and WINVER identifiers to the correct values before including any Win32 header files.  You will also need to have an updated installation of the Platform SDK.

   If your app is going to be running on other version of windows besides XP, you should really take the Owner Draw aproach: it is not that hard, and there are some existing articles that will walk you through it.

   Peace!

-=- James.
"Some People Know How To Drive, Others Just Know How To Operate A Car."
[Get Check Favorites 1.4 Now!]
AnswerRe: How do i add one of those arrows on a column? Pin
Ramu Pulipati17-Jun-02 9:24
Ramu Pulipati17-Jun-02 9:24 
GeneralMFC SDI + Webcontrol + Internet Explorer Pin
TBiker17-Jun-02 8:22
TBiker17-Jun-02 8:22 
GeneralRe: MFC SDI + Webcontrol + Internet Explorer Pin
Ramu Pulipati17-Jun-02 9:46
Ramu Pulipati17-Jun-02 9:46 
GeneralPopulate UDT Array from VB in VC++ DLL Pin
Ryan B.17-Jun-02 7:50
Ryan B.17-Jun-02 7:50 
GeneralSearch Engines :: Winsock Pin
valikac17-Jun-02 7:13
valikac17-Jun-02 7:13 
GeneralRe: Search Engines :: Winsock Pin
Renjith Ramachandran17-Jun-02 15:10
Renjith Ramachandran17-Jun-02 15:10 
GeneralRe: Search Engines :: Winsock Pin
valikac17-Jun-02 15:25
valikac17-Jun-02 15:25 
GeneralColorREF data type problem Pin
SilentWarrior17-Jun-02 7:06
SilentWarrior17-Jun-02 7:06 
GeneralRe: ColorREF data type problem Pin
redeemer17-Jun-02 7:11
redeemer17-Jun-02 7:11 
GeneralCustom Control On Toolbar Pin
Al_Pennyworth17-Jun-02 7:04
Al_Pennyworth17-Jun-02 7:04 
GeneralRe: Custom Control On Toolbar Pin
Ramu Pulipati17-Jun-02 7:44
Ramu Pulipati17-Jun-02 7:44 
GeneralMinimizing app with task bar button Pin
Yuri Gershanov17-Jun-02 7:01
Yuri Gershanov17-Jun-02 7:01 
GeneralRe: Minimizing app with task bar button Pin
Ramu Pulipati17-Jun-02 7:59
Ramu Pulipati17-Jun-02 7:59 
GeneralRe: Minimizing app with task bar button Pin
Yuri Gershanov17-Jun-02 9:30
Yuri Gershanov17-Jun-02 9:30 
GeneralAutomatically open last opened document in SDI Pin
rrrado17-Jun-02 6:26
rrrado17-Jun-02 6:26 
GeneralRe: Automatically open last opened document in SDI Pin
Ramu Pulipati17-Jun-02 8:30
Ramu Pulipati17-Jun-02 8:30 
GeneralRe: Automatically open last opened document in SDI Pin
rrrado17-Jun-02 23:04
rrrado17-Jun-02 23:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.