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

C / C++ / MFC

 
AnswerRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Jijo.Raj16-Dec-08 23:36
Jijo.Raj16-Dec-08 23:36 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav17-Dec-08 0:30
Rahul Vaishnav17-Dec-08 0:30 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Iain Clarke, Warrior Programmer17-Dec-08 0:54
Iain Clarke, Warrior Programmer17-Dec-08 0:54 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav17-Dec-08 1:29
Rahul Vaishnav17-Dec-08 1:29 
AnswerRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:36
Iain Clarke, Warrior Programmer16-Dec-08 23:36 
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 
because i currently put some code inside ::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)

CDC* pDC; //i used this to draw a rect to the menu

CRect rect;
rect.left=lpDrawItemStruct->rcItem.left;
rect.top=lpDrawItemStruct->rcItem.top + 2;
rect.right=lpDrawItemStruct->rcItem.right;
rect.bottom=lpDrawItemStruct->rcItem.bottom + 2

//str is a string which i want to output : eg -> Open\tCtrl+O
pDC->DrawText (str,rectt,nFormat); //this will draw text into the menu/submenu

What i want now is i want to make a checkmark/icon on the left side of the Text.
I'm not sure on how to draw it on the left side of the text

good

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 
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 

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.