Click here to Skip to main content
15,890,609 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use at for STL list Pin
VC_RYK27-May-10 2:07
VC_RYK27-May-10 2:07 
GeneralRe: How to use at for STL list Pin
El Corazon27-May-10 6:48
El Corazon27-May-10 6:48 
GeneralRe: How to use at for STL list Pin
CPallini27-May-10 7:52
mveCPallini27-May-10 7:52 
GeneralRe: How to use at for STL list Pin
El Corazon27-May-10 7:57
El Corazon27-May-10 7:57 
GeneralRe: How to use at for STL list Pin
CPallini27-May-10 8:06
mveCPallini27-May-10 8:06 
AnswerRe: How to use at for STL list Pin
El Corazon27-May-10 6:53
El Corazon27-May-10 6:53 
QuestionCEdit Pin
john563227-May-10 0:20
john563227-May-10 0:20 
AnswerRe: CEdit Pin
Aescleal27-May-10 0:29
Aescleal27-May-10 0:29 
Hi,

If you handle the WM_CTLCOLOR message in your edit control you can change the characteristics of the display context used to draw the text, so you can change the colour of the text and, by extension, the inverse video colours used for selected text.

To the best of my knowledge if you want to overlay an image then you'd have to overide or replace the standard drawing code - which would be a lot harder.

Cheers,

Ash
GeneralRe: CEdit Pin
john563227-May-10 0:41
john563227-May-10 0:41 
GeneralRe: CEdit Pin
Iain Clarke, Warrior Programmer27-May-10 9:25
Iain Clarke, Warrior Programmer27-May-10 9:25 
Questionhi Pin
gmallax27-May-10 0:17
gmallax27-May-10 0:17 
AnswerRe: hi Pin
Code-o-mat27-May-10 0:22
Code-o-mat27-May-10 0:22 
AnswerForward Declaration Pin
Aescleal27-May-10 0:24
Aescleal27-May-10 0:24 
QuestionEditing Visual Studio's MSI Setup for "Launch Now" option Pin
rahul.kulshreshtha26-May-10 23:48
rahul.kulshreshtha26-May-10 23:48 
QuestionC++ DLL question Pin
Keith Vitali26-May-10 22:41
Keith Vitali26-May-10 22:41 
AnswerRe: C++ DLL question Pin
hanq_3891013026-May-10 23:43
hanq_3891013026-May-10 23:43 
AnswerRe: C++ DLL question Pin
Aescleal27-May-10 0:01
Aescleal27-May-10 0:01 
Questionis it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 15:53
ForNow26-May-10 15:53 
AnswerRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
«_Superman_»26-May-10 17:42
professional«_Superman_»26-May-10 17:42 
GeneralRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 22:28
ForNow26-May-10 22:28 
AnswerRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
Stephen Hewitt26-May-10 17:44
Stephen Hewitt26-May-10 17:44 
GeneralRe: is it possible to get a CRect from the Current Selection of a Richedit Pin
ForNow26-May-10 22:40
ForNow26-May-10 22:40 
QuestionNeed to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
glitteringsound26-May-10 7:58
glitteringsound26-May-10 7:58 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Maximilien26-May-10 8:11
Maximilien26-May-10 8:11 
AnswerRe: Need to know about good C++ Reflection API (For RuntimeType Identification -RTTI and runtime calling) Pin
Aescleal26-May-10 8:37
Aescleal26-May-10 8:37 

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.