Click here to Skip to main content
15,920,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionneed to give the number of middle Pin
youbo13-Sep-07 15:53
youbo13-Sep-07 15:53 
AnswerRe: need to give the number of middle Pin
David Crow13-Sep-07 17:22
David Crow13-Sep-07 17:22 
GeneralRe: need to give the number of middle Pin
youbo13-Sep-07 17:24
youbo13-Sep-07 17:24 
QuestionRe: need to give the number of middle Pin
David Crow14-Sep-07 2:28
David Crow14-Sep-07 2:28 
AnswerRe: need to give the number of middle [modified] Pin
carrivick13-Sep-07 19:23
carrivick13-Sep-07 19:23 
GeneralRe: need to give the number of middle Pin
youbo13-Sep-07 20:38
youbo13-Sep-07 20:38 
GeneralRe: need to give the number of middle Pin
carrivick15-Sep-07 2:48
carrivick15-Sep-07 2:48 
QuestionConvert DWORD_PTR back to my object Pin
paresh_joe13-Sep-07 9:48
paresh_joe13-Sep-07 9:48 
I have problem with Casting ...

i've create class named Instrument { ... }

and in Dialog based MFC application
i have TreeView Control and in that at some point i am settin ItemData as "Instument" classs' Object

treeCtrl->SetItemData(instObject)//Instrument* to DWORD_PTR casting is done here Wink | ;)

now at some point i need this data(object) back
so to take data

Instrument *instObject = treeCtrl->GetItemData(hItem); // error: Sniff | :^)

Please help me to cast DWORD_PTR back to Instrument Type ...Frown | :(


AnswerRe: Convert DWORD_PTR back to my object Pin
Michael Dunn13-Sep-07 10:03
sitebuilderMichael Dunn13-Sep-07 10:03 
GeneralRe: Convert DWORD_PTR back to my object Pin
paresh_joe13-Sep-07 17:22
paresh_joe13-Sep-07 17:22 
QuestionRe: Convert DWORD_PTR back to my object Pin
David Crow13-Sep-07 17:24
David Crow13-Sep-07 17:24 
AnswerRe: Convert DWORD_PTR back to my object Pin
carrivick13-Sep-07 19:29
carrivick13-Sep-07 19:29 
GeneralRe: Convert DWORD_PTR back to my object Pin
Michael Dunn13-Sep-07 22:13
sitebuilderMichael Dunn13-Sep-07 22:13 
AnswerRe: Convert DWORD_PTR back to my object Pin
paresh_joe13-Sep-07 19:41
paresh_joe13-Sep-07 19:41 
QuestionWindows XP Memory allocation questions Pin
Budric B.13-Sep-07 5:34
Budric B.13-Sep-07 5:34 
AnswerRe: Windows XP Memory allocation questions Pin
Mark Salsbery13-Sep-07 6:01
Mark Salsbery13-Sep-07 6:01 
AnswerRe: Windows XP Memory allocation questions Pin
Waldermort13-Sep-07 6:16
Waldermort13-Sep-07 6:16 
AnswerRe: Windows XP Memory allocation questions Pin
Nemanja Trifunovic13-Sep-07 6:34
Nemanja Trifunovic13-Sep-07 6:34 
GeneralRe: Windows XP Memory allocation questions Pin
Budric B.13-Sep-07 7:41
Budric B.13-Sep-07 7:41 
QuestionDatabase Embedding Pin
perrin486913-Sep-07 5:12
perrin486913-Sep-07 5:12 
QuestionRe: Database Embedding Pin
Maximilien13-Sep-07 5:47
Maximilien13-Sep-07 5:47 
AnswerRe: Database Embedding Pin
perrin486913-Sep-07 7:02
perrin486913-Sep-07 7:02 
GeneralRe: Database Embedding [modified] Pin
Nemanja Trifunovic13-Sep-07 7:32
Nemanja Trifunovic13-Sep-07 7:32 
GeneralRe: Database Embedding Pin
perrin486913-Sep-07 8:41
perrin486913-Sep-07 8:41 
Questionget console cursot position Pin
baerten13-Sep-07 4:55
baerten13-Sep-07 4:55 

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.