Click here to Skip to main content
15,916,412 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetItemText() Problem Pin
Hamid_RT18-Aug-06 3:00
Hamid_RT18-Aug-06 3:00 
QuestionRe: SetItemText() Problem Pin
David Crow18-Aug-06 3:16
David Crow18-Aug-06 3:16 
QuestionRe: SetItemText() Problem Pin
prasad_som18-Aug-06 3:19
prasad_som18-Aug-06 3:19 
AnswerRe: SetItemText() Problem Pin
Kiran Pinjala18-Aug-06 3:26
Kiran Pinjala18-Aug-06 3:26 
QuestionOnCancel Pin
SandhyaSri18-Aug-06 1:35
SandhyaSri18-Aug-06 1:35 
AnswerRe: OnCancel Pin
Cedric Moonen18-Aug-06 1:48
Cedric Moonen18-Aug-06 1:48 
GeneralRe: OnCancel Pin
SandhyaSri18-Aug-06 1:57
SandhyaSri18-Aug-06 1:57 
GeneralRe: OnCancel Pin
Cedric Moonen18-Aug-06 2:20
Cedric Moonen18-Aug-06 2:20 
I don't know if that will work but in your KillFocus function, you can retrieve the current window that has the focus with CWnd::GetFocus. I don't know if that will be already the Cancel button, you have to try. Then, you can get the ID of the 'control' with GetDlgCtrlID. If that matches with the id of your cancel button, then leave the KillFocus function directly.


Cédric Moonen
Software developer

Charting control

AnswerRe: OnCancel Pin
David Crow18-Aug-06 3:08
David Crow18-Aug-06 3:08 
Questionwinsock errors Pin
afpr18-Aug-06 1:20
afpr18-Aug-06 1:20 
AnswerRe: winsock errors Pin
Rage18-Aug-06 1:27
professionalRage18-Aug-06 1:27 
GeneralRe: winsock errors Pin
afpr18-Aug-06 3:21
afpr18-Aug-06 3:21 
GeneralRe: winsock errors Pin
Rage18-Aug-06 3:30
professionalRage18-Aug-06 3:30 
QuestionDraw on Dialog Pin
erikamania18-Aug-06 1:04
erikamania18-Aug-06 1:04 
AnswerRe: Draw on Dialog Pin
Cedric Moonen18-Aug-06 1:10
Cedric Moonen18-Aug-06 1:10 
AnswerRe: Draw on Dialog Pin
Prakash Nadar18-Aug-06 1:19
Prakash Nadar18-Aug-06 1:19 
AnswerRe: Draw on Dialog [modified] Pin
_AnsHUMAN_ 18-Aug-06 1:35
_AnsHUMAN_ 18-Aug-06 1:35 
AnswerRe: Draw on Dialog Pin
Hamid_RT18-Aug-06 2:46
Hamid_RT18-Aug-06 2:46 
QuestionAbout CView problem,thank:) Pin
rxgmoral18-Aug-06 1:03
rxgmoral18-Aug-06 1:03 
AnswerRe: About CView problem,thank:) Pin
Rage18-Aug-06 1:28
professionalRage18-Aug-06 1:28 
QuestionRe: About CView problem,thank:) Pin
David Crow18-Aug-06 3:18
David Crow18-Aug-06 3:18 
Questionusing dll in VB(please help) Pin
aaaan18-Aug-06 0:59
aaaan18-Aug-06 0:59 
AnswerRe: using dll in VB(please help) Pin
Cedric Moonen18-Aug-06 1:12
Cedric Moonen18-Aug-06 1:12 
QuestionHow to hide the file names while in Thumbnail View ? Pin
Amar Sutar18-Aug-06 0:40
Amar Sutar18-Aug-06 0:40 
Questionhow to change the highlight color of listctrl Pin
GANsJob18-Aug-06 0:39
GANsJob18-Aug-06 0:39 

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.