Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFileDialog in CPropertyPage Pin
Mike Upton4-Apr-03 2:13
Mike Upton4-Apr-03 2:13 
GeneralRe: CFileDialog in CPropertyPage Pin
Joan M4-Apr-03 2:48
professionalJoan M4-Apr-03 2:48 
GeneralADO and Complex WHERE clause Pin
Anonymous3-Apr-03 23:43
Anonymous3-Apr-03 23:43 
GeneralRe: ADO and Complex WHERE clause Pin
Pavel Klocek4-Apr-03 0:54
Pavel Klocek4-Apr-03 0:54 
GeneralRe: ADO and Complex WHERE clause Pin
Anonymous4-Apr-03 1:50
Anonymous4-Apr-03 1:50 
GeneralRe: ADO and Complex WHERE clause Pin
Gunnar Bolle4-Apr-03 2:24
Gunnar Bolle4-Apr-03 2:24 
GeneralRe: ADO and Complex WHERE clause Pin
RChin4-Apr-03 2:32
RChin4-Apr-03 2:32 
GeneralAdvanced CTreeCtrl Pin
JensB3-Apr-03 23:12
JensB3-Apr-03 23:12 
Elloh

I work with a CTreeCtrl, one root: #childs en #leafs/child.

Everytime i click on the tree, i validate if we are talking about root, child or leaf. When it's a leaf, i put some text in a textbox. Works all fine.
Made a button 'Update'. When i click on that button, it checks if the current textbox is empty or not. If it's empty i delete the child, when the parent has no childs left, i delete the parent too. This works all fine if i press the button. But i alsoo want the 'onkillfocus' on that button, it does the same action. Done that, not prob.
But when i click on the treelist, the onkillfocus of that 'update' button reacts, then it checks if editbox is empty or not. But the problem is:
the editbox has already been changed because you clicked somewhere else, other information in it. The code of 'Update' action checks the current selection, but it now has changed and it wants to change for example the other leaf. (because i clicked on another leaf on that tree, it changes selection and my routine checks the current selection, need to have the 'old' selection).

Greetings
Jens
QuestionEntry Point Not Found???? Pin
jerry0davis3-Apr-03 22:56
jerry0davis3-Apr-03 22:56 
AnswerRe: Entry Point Not Found???? Pin
RobJones4-Apr-03 2:46
RobJones4-Apr-03 2:46 
GeneralCHtmlView & ScrollBar Pin
jeremysay3-Apr-03 22:09
jeremysay3-Apr-03 22:09 
GeneralRe: CHtmlView & ScrollBar Pin
Mike Upton3-Apr-03 22:31
Mike Upton3-Apr-03 22:31 
GeneralRe: CHtmlView & ScrollBar Pin
jeremysay4-Apr-03 1:00
jeremysay4-Apr-03 1:00 
GeneralDirectDraw: blitting between 2 differents pixels formats surfaces... Pin
Raphael Kindt3-Apr-03 22:01
Raphael Kindt3-Apr-03 22:01 
QuestionHow can I know explorer band's events??? Pin
Jun-ha Park3-Apr-03 21:56
Jun-ha Park3-Apr-03 21:56 
GeneralAlpha Blending in MFC image list Pin
Ceri3-Apr-03 21:46
Ceri3-Apr-03 21:46 
GeneralWhy,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
zhangyifei3-Apr-03 21:01
zhangyifei3-Apr-03 21:01 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
KarstenK3-Apr-03 21:19
mveKarstenK3-Apr-03 21:19 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
Mike Upton3-Apr-03 22:16
Mike Upton3-Apr-03 22:16 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
Harrier4-Apr-03 4:59
Harrier4-Apr-03 4:59 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
John R. Shaw4-Apr-03 8:04
John R. Shaw4-Apr-03 8:04 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
zhangyifei4-Apr-03 20:44
zhangyifei4-Apr-03 20:44 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
John R. Shaw8-Apr-03 10:42
John R. Shaw8-Apr-03 10:42 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
zhangyifei11-Apr-03 4:33
zhangyifei11-Apr-03 4:33 
GeneralRe: Why,Why,Why no one can resolvoe this Question?Doc/view/frame!I Have post this artical 5 time! Pin
John R. Shaw14-Apr-03 9:19
John R. Shaw14-Apr-03 9:19 

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.