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

C / C++ / MFC

 
GeneralRe: Block internet acces!? Pin
Le centriste21-May-02 7:16
Le centriste21-May-02 7:16 
GeneralRe: Block internet acces!? Pin
Rickard Andersson2021-May-02 8:47
Rickard Andersson2021-May-02 8:47 
AnswerRe: Block internet acces!? Pin
Nish Nishant21-May-02 6:09
sitebuilderNish Nishant21-May-02 6:09 
GeneralRe: Block internet acces!? Pin
Rickard Andersson2021-May-02 6:10
Rickard Andersson2021-May-02 6:10 
GeneralRe: Block internet acces!? Pin
dazinith21-May-02 6:20
dazinith21-May-02 6:20 
GeneralRe: Block internet acces!? Pin
Rickard Andersson2021-May-02 7:00
Rickard Andersson2021-May-02 7:00 
GeneralCTreeCtrl and Checkboxes Pin
dazinith21-May-02 5:47
dazinith21-May-02 5:47 
GeneralRe: CTreeCtrl and Checkboxes Pin
Shog921-May-02 13:28
sitebuilderShog921-May-02 13:28 
There are other ways i think, but i got around this by simply subclassing the tree and overriding WM_LBUTTONDOWN. You can use CTreeCtrl::HitTest() to determine what bit of what item was clicked on; just watch for TVHT_ONITEMSTATEICON and you're good to go. Just use !GetCheck(hItem); to determine if it will be checked. Smile | :)

---Shog9---

From now on we can call C# and MC++ "The square wheel languages"

-- Jack Handy, The Lounge


GeneralRe: CTreeCtrl and Checkboxes Pin
dazinith22-May-02 3:14
dazinith22-May-02 3:14 
GeneralRe: CTreeCtrl and Checkboxes Pin
Shog922-May-02 4:46
sitebuilderShog922-May-02 4:46 
GeneralCList Pin
Mazdak21-May-02 5:25
Mazdak21-May-02 5:25 
GeneralRe: CList Pin
Paul M Watt21-May-02 5:34
mentorPaul M Watt21-May-02 5:34 
GeneralRe: CList Pin
Mazdak21-May-02 5:58
Mazdak21-May-02 5:58 
GeneralRe: CList Pin
Chris Losinger21-May-02 6:00
professionalChris Losinger21-May-02 6:00 
GeneralRe: CList Pin
Mazdak21-May-02 6:14
Mazdak21-May-02 6:14 
GeneralRe: CList Pin
perlmunger21-May-02 5:43
perlmunger21-May-02 5:43 
GeneralRe: CList Pin
Mazdak21-May-02 6:01
Mazdak21-May-02 6:01 
Generalextern "C" Pin
21-May-02 5:26
suss21-May-02 5:26 
GeneralRe: extern "C" Pin
Paul M Watt21-May-02 5:30
mentorPaul M Watt21-May-02 5:30 
Questionhow using PTSTR type? Pin
a_hic21-May-02 4:55
a_hic21-May-02 4:55 
AnswerRe: how using PTSTR type? Pin
James R. Twine21-May-02 5:16
James R. Twine21-May-02 5:16 
GeneralDialUp/LAN Question (Beginner ?) Pin
21-May-02 4:45
suss21-May-02 4:45 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
Joaquín M López Muñoz21-May-02 4:53
Joaquín M López Muñoz21-May-02 4:53 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
21-May-02 5:10
suss21-May-02 5:10 
GeneralRe: DialUp/LAN Question (Beginner ?) Pin
Martin Ziacek21-May-02 5:17
Martin Ziacek21-May-02 5:17 

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.