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

C / C++ / MFC

 
QuestionMouse button down Pin
majco33331-Aug-06 2:14
majco33331-Aug-06 2:14 
AnswerRe: Mouse button down Pin
toxcct31-Aug-06 2:26
toxcct31-Aug-06 2:26 
AnswerRe: Mouse button down Pin
IlanTal31-Aug-06 2:26
IlanTal31-Aug-06 2:26 
AnswerRe: Mouse button down Pin
_AnsHUMAN_ 31-Aug-06 2:41
_AnsHUMAN_ 31-Aug-06 2:41 
GeneralRe: Mouse button down Pin
majco33331-Aug-06 2:35
majco33331-Aug-06 2:35 
GeneralRe: Mouse button down Pin
_AnsHUMAN_ 31-Aug-06 3:22
_AnsHUMAN_ 31-Aug-06 3:22 
GeneralRe: Mouse button down Pin
majco33331-Aug-06 3:25
majco33331-Aug-06 3:25 
QuestionHow do I write red text to a CDialogBar? Pin
IlanTal31-Aug-06 1:39
IlanTal31-Aug-06 1:39 
I have a dialog bar (similar to a dialog box) where I have a number of different objects. Now I have a request to write the patient name in a large font in red. I don't have a clue how to do this.
Usually one uses OnDraw(CDC *pDC) where the pDC allows you to draw what you want. For a dialog bar or a dialog box there is no OnDraw and the system does the work for you.
The only way I can think of is to make a bitmap file, where I draw into the bitmap what I want and then I display the bitmap as a picture. This is awkward especially as the program will generally be run from a CD which has no write possibilities.

There must be a better way, the question is can anyone suggest what it is?

Thanks,
Ilan

AnswerRe: How do I write red text to a CDialogBar? Pin
ovidiucucu31-Aug-06 6:16
ovidiucucu31-Aug-06 6:16 
GeneralRe: How do I write red text to a CDialogBar? Pin
IlanTal3-Sep-06 21:44
IlanTal3-Sep-06 21:44 
GeneralRe: How do I write red text to a CDialogBar? Pin
ovidiucucu4-Sep-06 0:04
ovidiucucu4-Sep-06 0:04 
GeneralRe: How do I write red text to a CDialogBar? Pin
IlanTal4-Sep-06 20:19
IlanTal4-Sep-06 20:19 
GeneralRe: How do I write red text to a CDialogBar? Pin
IlanTal4-Sep-06 23:06
IlanTal4-Sep-06 23:06 
Question(*pf)(int); *pf(int); Pin
Max++31-Aug-06 1:21
Max++31-Aug-06 1:21 
AnswerRe: (*pf)(int); *pf(int); Pin
salman kazi31-Aug-06 1:40
salman kazi31-Aug-06 1:40 
AnswerRe: (*pf)(int); *pf(int); Pin
toxcct31-Aug-06 1:56
toxcct31-Aug-06 1:56 
Questionhow i block the e-mail attachment in VC++? Pin
salman kazi31-Aug-06 1:19
salman kazi31-Aug-06 1:19 
QuestionWindows date and time conversion Pin
ashokvishnu31-Aug-06 0:57
ashokvishnu31-Aug-06 0:57 
AnswerRe: Windows date and time conversion Pin
_AnsHUMAN_ 31-Aug-06 1:01
_AnsHUMAN_ 31-Aug-06 1:01 
AnswerRe: View Refresh problem Pin
Cedric Moonen31-Aug-06 0:52
Cedric Moonen31-Aug-06 0:52 
QuestionCGRAPH OR MS CHART?? Pin
weehau31-Aug-06 0:20
weehau31-Aug-06 0:20 
AnswerRe: CGRAPH OR MS CHART?? Pin
toxcct31-Aug-06 0:40
toxcct31-Aug-06 0:40 
GeneralRe: CGRAPH OR MS CHART?? Pin
Cedric Moonen31-Aug-06 0:51
Cedric Moonen31-Aug-06 0:51 
GeneralRe: CGRAPH OR MS CHART?? Pin
toxcct31-Aug-06 0:51
toxcct31-Aug-06 0:51 
GeneralRe: CGRAPH OR MS CHART?? Pin
dinesh_IP31-Aug-06 1:50
dinesh_IP31-Aug-06 1:50 

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.