Re: Using CListCtrl in CPropertyPage

Tech-Archive recommends: Fix windows errors by optimizing your registry



>>I inadvertently set the "owner draw fixed" flag.
There are those days.

Well, take head from it, at least you know what causes it to fail.
And if anybody has a problem in the future, you might know what causes it.

Do read the article and use it, make it a habbit. One of the best things I
have ever read!
It comes in handy when you want to use some specialized control you find on
CodeProject or CodeGuru.

EOM,
"Brian Westcott" <bwestcott@xxxxxxx> wrote in message
news:ucYOnRB3FHA.4048@xxxxxxxxxxxxxxxxxxxxxxx
> As usual, the problem was my own carelessness and anything else. When
> transferring the dialog resource over to the property page code, I
> inadvertently set the "owner draw fixed" flag. When I cleared it, then
> CListCtrl worked!
>
> I will take a look at the article on Avoiding GetDlgItem . Thanks for your
> advice and help.
>
> "Brian Westcott" <bwestcott@xxxxxxx> wrote in message
> news:eHBKyb$2FHA.3636@xxxxxxxxxxxxxxxxxxxxxxx
>>I have a property page that consists of three edit boxes and a list
>>control. I can get the edit boxes to work and the headers of the ListCtrl
>>to display, but none of the rows in the list box are displayed. I don't
>>get any errors when I am creating to rows in the list box. can someone
>>help, please?
>> Brian
>>
>
>


.



Relevant Pages

  • Re: OK, Im finally stumped...
    ... | ) I can either draw the edit boxes or call CDialog::OnPaint, ... | the display after they are drawn OK. ... | UINT m_nRgbColor; ... The unused state controls remain grayed-out as expected. ...
    (microsoft.public.vc.mfc)
  • Re: Just realise that Im about as thick as they come!
    ... > some edit boxes that display values, and perhaps a left/right thing that ... A couple of extra edit boxes for the ... > By the way, I've got Delphi4 Standard. ...
    (alt.comp.lang.borland-delphi)
  • Re: Just realise that Im about as thick as they come!
    ... > (An instruction panel and a picture thing to demonstrate what to do. ... > some edit boxes that display values, and perhaps an up/down thing that lets ... A couple of extra edit boxes for the user ...
    (alt.comp.lang.borland-delphi)
  • Just realise that Im about as thick as they come!
    ... (An instruction panel and a picture thing to demonstrate what to do. ... some edit boxes that display values, and perhaps an up/down thing that lets ... A couple of extra edit boxes for the user ...
    (alt.comp.lang.borland-delphi)