Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 2:16
Chen-XuNuo20-Mar-07 2:16 
AnswerRe: some problems about listbox control Pin
prasad_som20-Mar-07 2:21
prasad_som20-Mar-07 2:21 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 3:30
Chen-XuNuo20-Mar-07 3:30 
AnswerRe: some problems about listbox control Pin
prasad_som20-Mar-07 4:02
prasad_som20-Mar-07 4:02 
AnswerRe: some problems about listbox control Pin
Chen-XuNuo19-Mar-07 16:46
Chen-XuNuo19-Mar-07 16:46 
AnswerRe: some problems about listbox control Pin
Parthi_Appu19-Mar-07 21:10
Parthi_Appu19-Mar-07 21:10 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 2:27
Chen-XuNuo20-Mar-07 2:27 
GeneralRe: some problems about listbox control Pin
Parthi_Appu20-Mar-07 2:40
Parthi_Appu20-Mar-07 2:40 
IT_DOER wrote:
what subclassing mean


Process window message with out sending those message to actuall control(window). That is, if you have a listbox which is working great. You want to block some of its message to process, then you have to subclass this control(window).

No need for PreSubClassWindow, so you can very well remove this.
In your derived ListBox class, handle PreCreateWindow, MeasureItem and DrawItem this will do.

In some dialog or window, you will have this derived listbox member,there, after creating the derived listbox, use AddString API.


Do your Duty and Don't expect the Result

GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 3:46
Chen-XuNuo20-Mar-07 3:46 
QuestionHow to move a bitmap from a splitted window to another? Pin
hcygxr200819-Mar-07 16:38
hcygxr200819-Mar-07 16:38 
AnswerRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu19-Mar-07 20:39
Parthi_Appu19-Mar-07 20:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200826-Mar-07 16:28
hcygxr200826-Mar-07 16:28 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu26-Mar-07 17:39
Parthi_Appu26-Mar-07 17:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200827-Mar-07 19:18
hcygxr200827-Mar-07 19:18 
Questionerror by system user Pin
hanlei000000000919-Mar-07 16:35
hanlei000000000919-Mar-07 16:35 
Questioncsv parser function needed ? Pin
Software_Specialist19-Mar-07 13:51
Software_Specialist19-Mar-07 13:51 
AnswerRe: csv parser function needed ? Pin
Stephen Hewitt19-Mar-07 15:02
Stephen Hewitt19-Mar-07 15:02 
AnswerRe: csv parser function needed ? [modified] Pin
cp987619-Mar-07 15:02
cp987619-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:02
El Corazon19-Mar-07 15:02 
QuestionRe: csv parser function needed ? Pin
David Crow19-Mar-07 15:02
David Crow19-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:07
El Corazon19-Mar-07 15:07 
GeneralRe: csv parser function needed ? Pin
David Crow19-Mar-07 15:11
David Crow19-Mar-07 15:11 
Questionopen file in associated application Pin
tiflo19-Mar-07 12:51
tiflo19-Mar-07 12:51 
AnswerRe: open file in associated application Pin
x87Bliss19-Mar-07 12:56
x87Bliss19-Mar-07 12:56 
AnswerRe: open file in associated application Pin
toxcct19-Mar-07 13:10
toxcct19-Mar-07 13:10 

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.