Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: debugging Pin
DRHuff26-Mar-02 10:58
DRHuff26-Mar-02 10:58 
GeneralRe: We were both wrong Tom Pin
Tim Smith26-Mar-02 5:13
Tim Smith26-Mar-02 5:13 
QuestionHow to show and handle CFormView in ActiveX Pin
sanskypotov26-Mar-02 2:59
sanskypotov26-Mar-02 2:59 
AnswerRe: How to show and handle CFormView in ActiveX Pin
Michael P Butler26-Mar-02 3:24
Michael P Butler26-Mar-02 3:24 
GeneralThanks, but according to Q155973 Pin
sanskypotov26-Mar-02 19:52
sanskypotov26-Mar-02 19:52 
AnswerRe: How to show and handle CFormView in ActiveX Pin
Joaquín M López Muñoz26-Mar-02 3:25
Joaquín M López Muñoz26-Mar-02 3:25 
GeneralFinding tree root Pin
26-Mar-02 3:04
suss26-Mar-02 3:04 
GeneralRe: Finding tree root Pin
Tomasz Sowinski26-Mar-02 3:38
Tomasz Sowinski26-Mar-02 3:38 
Regarding (1):

Handle WM_LBUTTONDOWN. Use CTreeCtrl::HitTest to get HTREEITEM. CTreeCtrl::GetRootItem returns root, so simple comparison of HTREEITEMS will answer your question. If you need to check if item is leaf, call CTreeCtrl::GetChildItem and pass clicked HTREEITEM - if it returns NULL, your item is a leaf.

Tomasz Sowinski -- http://www.shooltz.com
** If you're going to rape, pillage and burn, be sure to do things in that order. **

GeneralPassing parameters to a Dialog Pin
Sayan Mukherjee26-Mar-02 2:28
Sayan Mukherjee26-Mar-02 2:28 
GeneralRe: Passing parameters to a Dialog Pin
Tomasz Sowinski26-Mar-02 2:36
Tomasz Sowinski26-Mar-02 2:36 
GeneralRe: Passing parameters to a Dialog Pin
26-Mar-02 2:47
suss26-Mar-02 2:47 
GeneralRe: Passing parameters to a Dialog Pin
Tomasz Sowinski26-Mar-02 2:53
Tomasz Sowinski26-Mar-02 2:53 
GeneralRe: Passing parameters to a Dialog Pin
Nish Nishant26-Mar-02 3:09
sitebuilderNish Nishant26-Mar-02 3:09 
GeneralRe: Passing parameters to a Dialog Pin
Tomasz Sowinski26-Mar-02 3:27
Tomasz Sowinski26-Mar-02 3:27 
GeneralRe: Passing parameters to a Dialog Pin
Sayan Mukherjee26-Mar-02 2:43
Sayan Mukherjee26-Mar-02 2:43 
GeneralRe: Passing parameters to a Dialog Pin
Tomasz Sowinski26-Mar-02 2:48
Tomasz Sowinski26-Mar-02 2:48 
GeneralRe: Passing parameters to a Dialog Pin
Ravi Bhavnani26-Mar-02 3:14
professionalRavi Bhavnani26-Mar-02 3:14 
GeneralRe: Passing parameters to a Dialog Pin
26-Mar-02 2:43
suss26-Mar-02 2:43 
GeneralSplitter Windows Pin
funbag26-Mar-02 2:23
funbag26-Mar-02 2:23 
GeneralRe: Splitter Windows Pin
Tomasz Sowinski26-Mar-02 2:34
Tomasz Sowinski26-Mar-02 2:34 
GeneralRe: Splitter Windows Pin
Nish Nishant26-Mar-02 3:13
sitebuilderNish Nishant26-Mar-02 3:13 
GeneralDATETIMEPICKER Pin
Drawil26-Mar-02 1:24
Drawil26-Mar-02 1:24 
GeneralRe: DATETIMEPICKER Pin
Tomasz Sowinski26-Mar-02 1:33
Tomasz Sowinski26-Mar-02 1:33 
GeneralRe: DATETIMEPICKER Pin
Drawil26-Mar-02 1:40
Drawil26-Mar-02 1:40 
GeneralRe: DATETIMEPICKER Pin
Tomasz Sowinski26-Mar-02 1:45
Tomasz Sowinski26-Mar-02 1:45 

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.