Click here to Skip to main content
16,008,750 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAssign Shortcut in DevStudio Macro Pin
peterchen16-Jan-03 23:10
peterchen16-Jan-03 23:10 
GeneralVertical rebar bands stretching Pin
Bartosz Bien16-Jan-03 23:11
Bartosz Bien16-Jan-03 23:11 
GeneralLOCK System Pin
suresh_sathya16-Jan-03 22:23
suresh_sathya16-Jan-03 22:23 
GeneralRe: LOCK System Pin
xxhimanshu17-Jan-03 0:22
xxhimanshu17-Jan-03 0:22 
GeneralTreeCtrl & SetitemData Pin
jeremysay16-Jan-03 22:03
jeremysay16-Jan-03 22:03 
GeneralRe: TreeCtrl & SetitemData Pin
Rage16-Jan-03 23:11
professionalRage16-Jan-03 23:11 
GeneralRe: TreeCtrl & SetitemData Pin
jeremysay16-Jan-03 23:13
jeremysay16-Jan-03 23:13 
GeneralRe: TreeCtrl & SetitemData Pin
Rage16-Jan-03 23:24
professionalRage16-Jan-03 23:24 
Maybe like this :

POSITION pos;
DWORD d=(DWORD)pos;


I'm not sure because i do not know how Windows handles POSITION, so it may be more complicated.

Why would you like to do such a thing ?

Pls note that a DWORD is a 32 bit value, so you can cast any kind of data into it and get them back after. You also can store pointers on structs into it. I consider the Data provided with CTreeCtrl to be used with indexes or pointers pointing on Data, not the Data itself.

~RaGE();
GeneralRe: TreeCtrl & SetitemData Pin
jeremysay16-Jan-03 23:39
jeremysay16-Jan-03 23:39 
GeneralRe: TreeCtrl & SetitemData Pin
peterchen16-Jan-03 23:26
peterchen16-Jan-03 23:26 
GeneralRe: TreeCtrl & SetitemData Pin
jeremysay16-Jan-03 23:39
jeremysay16-Jan-03 23:39 
GeneralRe: TreeCtrl & SetitemData Pin
jeremysay16-Jan-03 23:51
jeremysay16-Jan-03 23:51 
QuestionAny ideas on updating CListCtrl icon in separate thread ? Pin
Miroslav Rajcic16-Jan-03 21:56
Miroslav Rajcic16-Jan-03 21:56 
AnswerRe: Any ideas on updating CListCtrl icon in separate thread ? Pin
Hesham Amin16-Jan-03 22:19
Hesham Amin16-Jan-03 22:19 
GeneralRe: Any ideas on updating CListCtrl icon in separate thread ? Pin
Miroslav Rajcic16-Jan-03 22:25
Miroslav Rajcic16-Jan-03 22:25 
GeneralRe: Any ideas on updating CListCtrl icon in separate thread ? Pin
Hesham Amin17-Jan-03 2:44
Hesham Amin17-Jan-03 2:44 
AnswerRe: Any ideas on updating CListCtrl icon in separate thread ? Pin
peterchen17-Jan-03 0:20
peterchen17-Jan-03 0:20 
GeneralRe: Any ideas on updating CListCtrl icon in separate thread ? Pin
Miroslav Rajcic17-Jan-03 1:31
Miroslav Rajcic17-Jan-03 1:31 
Questionhow to attach the htmlhelp to an exisiting application Pin
lbc16-Jan-03 21:40
lbc16-Jan-03 21:40 
AnswerRe: how to attach the htmlhelp to an exisiting application Pin
chepuri_uk16-Jan-03 21:58
chepuri_uk16-Jan-03 21:58 
GeneralRe: how to attach the htmlhelp to an exisiting application Pin
lbc16-Jan-03 23:48
lbc16-Jan-03 23:48 
GeneralMore than 1 Doc with CWinApp::OpenDocumentFile(lpszFileName)... Pin
Raphael Kindt16-Jan-03 21:38
Raphael Kindt16-Jan-03 21:38 
GeneralCompilation error Pin
Rage16-Jan-03 21:33
professionalRage16-Jan-03 21:33 
GeneralRe: Compilation error Pin
xxhimanshu16-Jan-03 22:02
xxhimanshu16-Jan-03 22:02 
GeneralRe: Compilation error Pin
Rage16-Jan-03 23:17
professionalRage16-Jan-03 23: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.