Click here to Skip to main content
15,922,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DrawText is giving me garbage Pin
thebeekeeper9-Sep-08 7:25
thebeekeeper9-Sep-08 7:25 
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 7:31
Mark Salsbery9-Sep-08 7:31 
QuestionRe: DrawText is giving me garbage Pin
led mike9-Sep-08 5:32
led mike9-Sep-08 5:32 
QuestionEmbedded Data Pin
claman9-Sep-08 5:05
claman9-Sep-08 5:05 
JokeRe: Embedded Data Pin
CPallini9-Sep-08 5:35
mveCPallini9-Sep-08 5:35 
JokeRe: Embedded Data Pin
toxcct9-Sep-08 5:43
toxcct9-Sep-08 5:43 
JokeRe: Embedded Data Pin
enhzflep9-Sep-08 5:47
enhzflep9-Sep-08 5:47 
JokeRe: Embedded Data Pin
Perspx9-Sep-08 6:12
Perspx9-Sep-08 6:12 
JokeRe: Embedded Data Pin
CPallini9-Sep-08 6:13
mveCPallini9-Sep-08 6:13 
GeneralRe: Embedded Data Pin
Hamid_RT9-Sep-08 8:21
Hamid_RT9-Sep-08 8:21 
QuestionRe: Embedded Data Pin
CPallini9-Sep-08 9:30
mveCPallini9-Sep-08 9:30 
AnswerRe: Embedded Data Pin
Hamid_RT9-Sep-08 20:32
Hamid_RT9-Sep-08 20:32 
GeneralRe: Embedded Data Pin
CPallini9-Sep-08 21:06
mveCPallini9-Sep-08 21:06 
GeneralRe: Embedded Data Pin
Hamid_RT10-Sep-08 0:44
Hamid_RT10-Sep-08 0:44 
GeneralRe: Embedded Data Pin
CPallini10-Sep-08 0:59
mveCPallini10-Sep-08 0:59 
GeneralRe: Embedded Data Pin
Hamid_RT10-Sep-08 9:33
Hamid_RT10-Sep-08 9:33 
AnswerRe: Embedded Data Pin
claman9-Sep-08 6:35
claman9-Sep-08 6:35 
GeneralRe: Embedded Data Pin
thebeekeeper9-Sep-08 7:03
thebeekeeper9-Sep-08 7:03 
AnswerRe: Embedded Data Pin
Bram van Kampen9-Sep-08 8:33
Bram van Kampen9-Sep-08 8:33 
QuestionHow to Change Focus on Tree View with Mouse Click Pin
Stuck At Zero9-Sep-08 3:35
Stuck At Zero9-Sep-08 3:35 
AnswerRe: How to Change Focus on Tree View with Mouse Click Pin
Mark Salsbery9-Sep-08 5:23
Mark Salsbery9-Sep-08 5:23 
GeneralRe: How to Change Focus on Tree View with Mouse Click Pin
Stuck At Zero9-Sep-08 6:13
Stuck At Zero9-Sep-08 6:13 
GeneralRe: How to Change Focus on Tree View with Mouse Click Pin
Mark Salsbery9-Sep-08 6:29
Mark Salsbery9-Sep-08 6:29 
Stuck At Zero wrote:
since I was overriding OnNotify, the call to the overridden function would handle all the other stuff I'm not handling


Right, but you were calling the base class BEFORE handling the
notification and afterwards as well. You should also return TRUE
when you handle a notification.


Stuck At Zero wrote:
I've tried using other notifications and nothing seems to work.


It depends on what you want to do. There's a lot of more specific
notifications for a tree view control that may be more appropriate than
the generic NM_CLICK notification, which is sent when the user clicks
anywhere on the control. That notification may come BEFORE the control
changes the selected item, which will mess up your handler logic.


In your previous post, you needed to load child nodes when an item was
expanded. What else are you wanting to do?

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: How to Change Focus on Tree View with Mouse Click Pin
Stuck At Zero9-Sep-08 6:36
Stuck At Zero9-Sep-08 6:36 
QuestionInstalling drivers and Inno Setup Pin
AnithaSubramani9-Sep-08 2:47
AnithaSubramani9-Sep-08 2:47 

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.