Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Mixing C++ and .Net at runtime -- is it possible ? Pin
Iain Clarke, Warrior Programmer28-Oct-09 0:54
Iain Clarke, Warrior Programmer28-Oct-09 0:54 
GeneralRe: Mixing C++ and .Net at runtime -- is it possible ? Pin
ERLN28-Oct-09 1:39
ERLN28-Oct-09 1:39 
Questionwindow is disabled but can it receive focus Pin
prithaa27-Oct-09 16:15
prithaa27-Oct-09 16:15 
AnswerRe: window is disabled but can it receive focus Pin
Naveen27-Oct-09 17:42
Naveen27-Oct-09 17:42 
AnswerRe: window is disabled but can it receive focus Pin
Randor 27-Oct-09 20:25
professional Randor 27-Oct-09 20:25 
GeneralRe: window is disabled but can it receive focus Pin
prithaa27-Oct-09 22:59
prithaa27-Oct-09 22:59 
QuestionCTreeCtrl in MFC Pin
Larry Mills Sr27-Oct-09 14:49
Larry Mills Sr27-Oct-09 14:49 
AnswerRe: CTreeCtrl in MFC Pin
Naveen27-Oct-09 17:57
Naveen27-Oct-09 17:57 
Larry Mills Sr wrote:
In OnNM_ClickTreeCtrl()


Its better to handle this in the selection changed event(TVN_SELCHANGED) other wise, if some one operate the tree control through keyboard, your application wont work.

Larry Mills Sr wrote:
How do I only receive the click on the Reports themselves, not all the headings?


You can use the item data corresponding to each item, to identify whether the items is report or not. I mean, while inserting the report, you should set the item data(SetItemData) as some value, say X. When the selection change occurs, retrive the item data correspoding to that item, check whether the item data is X.


GeneralRe: CTreeCtrl in MFC Pin
Larry Mills Sr28-Oct-09 2:58
Larry Mills Sr28-Oct-09 2:58 
QuestionHow do I find out if a new file exists in a directory Pin
MikeRWinter27-Oct-09 13:17
MikeRWinter27-Oct-09 13:17 
AnswerRe: How do I find out if a new file exists in a directory Pin
Richard MacCutchan27-Oct-09 13:45
mveRichard MacCutchan27-Oct-09 13:45 
GeneralRe: How do I find out if a new file exists in a directory Pin
MikeRWinter27-Oct-09 14:12
MikeRWinter27-Oct-09 14:12 
Questionimport "msado15.idl" problems Pin
MrKBA27-Oct-09 8:53
MrKBA27-Oct-09 8:53 
QuestionRe: import "msado15.idl" problems Pin
David Crow27-Oct-09 10:03
David Crow27-Oct-09 10:03 
AnswerRe: import "msado15.idl" problems Pin
MrKBA27-Oct-09 11:12
MrKBA27-Oct-09 11:12 
AnswerRe: import "msado15.idl" problems Pin
22491727-Oct-09 15:04
22491727-Oct-09 15:04 
GeneralRe: import "msado15.idl" problems Pin
MrKBA27-Oct-09 22:01
MrKBA27-Oct-09 22:01 
QuestionSQLDriverConnect() crashes with vs 9 against ora DB Pin
adam_wind27-Oct-09 8:49
adam_wind27-Oct-09 8:49 
GeneralRe: SQLDriverConnect() crashes with vs 9 against ora DB Pin
22491727-Oct-09 9:38
22491727-Oct-09 9:38 
GeneralRe: SQLDriverConnect() crashes with vs 9 against ora DB Pin
adam_wind27-Oct-09 23:00
adam_wind27-Oct-09 23:00 
QuestionHelp Understanding Program Speed Variation from PC to PC Pin
en9ap27-Oct-09 8:44
en9ap27-Oct-09 8:44 
AnswerRe: Help Understanding Program Speed Variation from PC to PC Pin
Code-o-mat27-Oct-09 9:48
Code-o-mat27-Oct-09 9:48 
GeneralRe: Help Understanding Program Speed Variation from PC to PC Pin
en9ap28-Oct-09 3:22
en9ap28-Oct-09 3:22 
QuestionStrange comms port behavior Pin
softwaremonkey27-Oct-09 8:06
softwaremonkey27-Oct-09 8:06 
QuestionRe: Strange comms port behavior Pin
David Crow27-Oct-09 8:11
David Crow27-Oct-09 8:11 

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.