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

C / C++ / MFC

 
Questioncheckmark/icon in submenu[owner draw menu] Pin
karhong16-Dec-08 22:32
karhong16-Dec-08 22:32 
AnswerRe: checkmark/icon in submenu[owner draw menu] Pin
L. Madhavan16-Dec-08 22:50
L. Madhavan16-Dec-08 22:50 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
karhong16-Dec-08 23:18
karhong16-Dec-08 23:18 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
L. Madhavan17-Dec-08 2:02
L. Madhavan17-Dec-08 2:02 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
karhong17-Dec-08 14:25
karhong17-Dec-08 14:25 
AnswerRe: checkmark/icon in submenu[owner draw menu] Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:11
Iain Clarke, Warrior Programmer16-Dec-08 23:11 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
karhong16-Dec-08 23:21
karhong16-Dec-08 23:21 
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:43
Iain Clarke, Warrior Programmer16-Dec-08 23:43 
karhong wrote:
Correct if i'm wrong


It'll be a pleasure. (cue evil laugh)

What is does is to temporarily change the font to Marlett, and then draw one of the characters in a particular place. It is then a good citizen and restores the font to it's previous state. If this is not clear, learn it fast, as you should be doing the same whenever you change the state of a DC.

Out of curiosity, I loaded Marlett into charmap. It's a not-real font, with lots of useful characters, like the min / max / etc bits that windows uses in the top right of your windows. Etc. One of those characters (look at the comments in the pasted code) is a check mark / tick.

Cunning Mr Podetti!

Iain.
GeneralRe: checkmark/icon in submenu[owner draw menu] Pin
Randor 17-Dec-08 0:03
professional Randor 17-Dec-08 0:03 
AnswerRe: checkmark/icon in submenu[owner draw menu] Pin
Code-o-mat16-Dec-08 23:12
Code-o-mat16-Dec-08 23:12 
Questionwhat is meant by Registration script? what is use of this file and how to create this file? Pin
puppya16-Dec-08 21:44
puppya16-Dec-08 21:44 
QuestionRe: what is meant by Registration script? what is use of this file and how to create this file? Pin
CPallini16-Dec-08 21:58
mveCPallini16-Dec-08 21:58 
AnswerRe: what is meant by Registration script? what is use of this file and how to create this file? Pin
puppya16-Dec-08 22:21
puppya16-Dec-08 22:21 
GeneralRe: what is meant by Registration script? what is use of this file and how to create this file? Pin
CPallini16-Dec-08 22:50
mveCPallini16-Dec-08 22:50 
AnswerRe: what is meant by Registration script? what is use of this file and how to create this file? Pin
David Crow17-Dec-08 3:16
David Crow17-Dec-08 3:16 
Questionunselect a row in list control(MFC) Pin
akira3216-Dec-08 20:39
akira3216-Dec-08 20:39 
AnswerRe: unselect a row in list control(MFC) Pin
Hamid_RT16-Dec-08 20:44
Hamid_RT16-Dec-08 20:44 
GeneralRe: unselect a row in list control(MFC) Pin
akira3216-Dec-08 21:57
akira3216-Dec-08 21:57 
AnswerRe: unselect a row in list control(MFC) Pin
Jijo.Raj16-Dec-08 21:01
Jijo.Raj16-Dec-08 21:01 
GeneralRe: unselect a row in list control(MFC) Pin
akira3216-Dec-08 22:23
akira3216-Dec-08 22:23 
GeneralRe: unselect a row in list control(MFC) Pin
Jijo.Raj16-Dec-08 23:29
Jijo.Raj16-Dec-08 23:29 
QuestionHow to open localhost in MFC? (Very Urgent...........) [modified] Pin
AnithaSubramani16-Dec-08 19:42
AnithaSubramani16-Dec-08 19:42 
AnswerRe: How to open localhost in MFC? (Very Urgent...........) Pin
L. Madhavan16-Dec-08 19:47
L. Madhavan16-Dec-08 19:47 
GeneralRe: How to open localhost in MFC? (Very Urgent...........) Pin
AnithaSubramani16-Dec-08 20:10
AnithaSubramani16-Dec-08 20:10 
GeneralRe: How to open localhost in MFC? (Very Urgent...........) Pin
L. Madhavan16-Dec-08 21:07
L. Madhavan16-Dec-08 21:07 

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.