Re: Using CListCtrl in CPropertyPage
- From: "Computer" <chollan2@xxxxxxxxxx>
- Date: Fri, 28 Oct 2005 16:23:06 -0700
>>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
>>
>
>
.
- References:
- Using CListCtrl in CPropertyPage
- From: Brian Westcott
- Using CListCtrl in CPropertyPage
- Prev by Date: how to set list control scroll bar position?
- Next by Date: Re: Advice needed binary configuration files
- Previous by thread: Re: Using CListCtrl in CPropertyPage
- Next by thread: Linker errors
- Index(es):
Relevant Pages
|