Click here to Skip to main content
16,011,743 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Appearing/Disappearing Asterisk in Title Bar Pin
Joaquín M López Muñoz9-Jan-02 7:57
Joaquín M López Muñoz9-Jan-02 7:57 
Questionhow to see if one list item is also in a second list Pin
Kuniva9-Jan-02 6:47
Kuniva9-Jan-02 6:47 
AnswerRe: how to see if one list item is also in a second list Pin
Bill Wilson9-Jan-02 9:48
Bill Wilson9-Jan-02 9:48 
Generalip posting Pin
Nnamdi Onyeyiri9-Jan-02 6:06
Nnamdi Onyeyiri9-Jan-02 6:06 
GeneralRe: ip posting Pin
James R. Twine9-Jan-02 6:22
James R. Twine9-Jan-02 6:22 
GeneralRe: ip posting Pin
Nish Nishant9-Jan-02 6:47
sitebuilderNish Nishant9-Jan-02 6:47 
GeneralRe: ip posting Pin
James R. Twine9-Jan-02 12:50
James R. Twine9-Jan-02 12:50 
GeneralOutlook Style Address Control Pin
James R. Twine9-Jan-02 5:57
James R. Twine9-Jan-02 5:57 
   Anyone out there that has used Outlook can understand this: When you add an address to the "To..." edit control (when writing a new email message), once the address is "recognized", it becomes underlined, but also becomes an object.  Meaning, it is only selectable as a whole item, you are no longer able to select part of the recognized address.

   I have been unable to accurately duplicate this functionality.  After staring at Spy++ for a while, I believe that the address text is eventually taken from the control (WM_GETTEXT), the OLE interface and Event Mask are accessed (EM_GETOLEINTERFACE, EM_GETEVENTMASK, EM_SETEVENTMASK), the Text Mode is accessed (EM_SETTEXTMODE, EM_GETTEXTMODE), the address is resolved/recognized, removed from the control (EM_SETSEL and WM_SETTEXT), and I believe address gets converted to some kind of visible COM object, because I never see a message that directly replaces the address text.  But I am at a loss as to how to get started writing such an object.

   Any thoughts (based in reality)?  Or does anyone know how that REALLY works, that can tell me that I am WAY off base, and can tell/show me how it is done?

   Peace!

-=- James.
GeneralRe: Outlook Style Address Control Pin
Bill Wilson9-Jan-02 9:52
Bill Wilson9-Jan-02 9:52 
GeneralRe: Outlook Style Address Control Pin
James R. Twine10-Jan-02 8:24
James R. Twine10-Jan-02 8:24 
GeneralProblem disabling Controls in Win 2k Pin
Semlo9-Jan-02 5:51
Semlo9-Jan-02 5:51 
GeneralRe: Problem disabling Controls in Win 2k Pin
Nish Nishant9-Jan-02 6:49
sitebuilderNish Nishant9-Jan-02 6:49 
GeneralRe: Problem disabling Controls in Win 2k Pin
Semlo10-Jan-02 2:06
Semlo10-Jan-02 2:06 
GeneralProblem with registring server Pin
9-Jan-02 5:49
suss9-Jan-02 5:49 
GeneralRe: Problem with registring server Pin
James R. Twine9-Jan-02 6:05
James R. Twine9-Jan-02 6:05 
GeneralRe: Problem with registring server Pin
9-Jan-02 22:28
suss9-Jan-02 22:28 
GeneralRe: Problem with registring server Pin
James R. Twine10-Jan-02 5:06
James R. Twine10-Jan-02 5:06 
GeneralWith a little help from my friends Pin
Joaquín M López Muñoz9-Jan-02 5:17
Joaquín M López Muñoz9-Jan-02 5:17 
GeneralStretchBlt question Pin
jafrazee9-Jan-02 5:05
jafrazee9-Jan-02 5:05 
GeneralRe: StretchBlt question Pin
Ernest Laurentin9-Jan-02 5:28
Ernest Laurentin9-Jan-02 5:28 
GeneralRe: StretchBlt question Pin
jafrazee9-Jan-02 5:37
jafrazee9-Jan-02 5:37 
GeneralRe: StretchBlt question Pin
Ernest Laurentin9-Jan-02 6:47
Ernest Laurentin9-Jan-02 6:47 
GeneralRe: StretchBlt question Pin
Jon Hulatt9-Jan-02 6:30
Jon Hulatt9-Jan-02 6:30 
GeneralRe: StretchBlt question Pin
Joel Lucsy9-Jan-02 7:52
Joel Lucsy9-Jan-02 7:52 
QuestionDLLs - catching messages? Pin
User 66589-Jan-02 5:01
User 66589-Jan-02 5:01 

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.