Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 1:44
ashtwin7-Jan-08 1:44 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 1:51
Nishad S7-Jan-08 1:51 
GeneralRe: Problem in subclassing of Combobox [modified] Pin
ashtwin7-Jan-08 2:10
ashtwin7-Jan-08 2:10 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 2:18
Nishad S7-Jan-08 2:18 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 2:27
ashtwin7-Jan-08 2:27 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 2:40
Nishad S7-Jan-08 2:40 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 2:51
ashtwin7-Jan-08 2:51 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 3:07
Nishad S7-Jan-08 3:07 
One thing I noticed just now... Frown | :(

<blockquote class="FQ"><div class="FQA">ashtwin wrote:</div>hChild = ::GetFocus();
hParent = ::GetParent(hChild);
::PostMessage(hParent, WM_MYMESSAGE, /*pMsg->wParam*/0, /*pMsg->lParam*/0); </blockquote>

So the parent is the combobox itself, and the message is posted to it. So this message is going to be received by combobox, not the parent of the combobox. Is it expected?

What is happening exactly with the subclassing?

- NS -
[ODBaseBtn]

GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 3:20
ashtwin7-Jan-08 3:20 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 17:23
Nishad S7-Jan-08 17:23 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin7-Jan-08 21:52
ashtwin7-Jan-08 21:52 
GeneralRe: Problem in subclassing of Combobox Pin
Nishad S7-Jan-08 22:03
Nishad S7-Jan-08 22:03 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin9-Jan-08 23:23
ashtwin9-Jan-08 23:23 
QuestionRe: Problem in subclassing of Combobox Pin
Nishad S9-Jan-08 23:27
Nishad S9-Jan-08 23:27 
GeneralRe: Problem in subclassing of Combobox Pin
ashtwin10-Jan-08 1:43
ashtwin10-Jan-08 1:43 
QuestionHow to Get chinese text from rtf in messagebox . Pin
johnalek7-Jan-08 0:14
johnalek7-Jan-08 0:14 
AnswerRe: How to Get chinese text from rtf in messagebox . Pin
Matthew Faithfull7-Jan-08 0:52
Matthew Faithfull7-Jan-08 0:52 
GeneralRe: How to Get chinese text from rtf in messagebox . Pin
Maxwell Chen7-Jan-08 1:09
Maxwell Chen7-Jan-08 1:09 
GeneralRe: How to Get chinese text from rtf in messagebox . Pin
Matthew Faithfull7-Jan-08 1:14
Matthew Faithfull7-Jan-08 1:14 
GeneralThe pre tag issue Pin
Maxwell Chen7-Jan-08 1:19
Maxwell Chen7-Jan-08 1:19 
GeneralRe: How to Get chinese text from rtf in messagebox . Pin
Maxwell Chen7-Jan-08 1:10
Maxwell Chen7-Jan-08 1:10 
GeneralSmall buttons in the caption bar of file open dialog Pin
emmmatty16-Jan-08 22:53
emmmatty16-Jan-08 22:53 
GeneralRe: Small buttons in the caption bar of file open dialog Pin
Matthew Faithfull6-Jan-08 23:42
Matthew Faithfull6-Jan-08 23:42 
GeneralGetting ScanLine of bitmap image Pin
trioum6-Jan-08 22:53
trioum6-Jan-08 22:53 
QuestionRe: Getting ScanLine of bitmap image Pin
CPallini7-Jan-08 0:10
mveCPallini7-Jan-08 0: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.