Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DestroyWindow() and delete Pin
Ravi Bhavnani3-Apr-03 4:27
professionalRavi Bhavnani3-Apr-03 4:27 
GeneralRe: DestroyWindow() and delete Pin
ns3-Apr-03 4:30
ns3-Apr-03 4:30 
GeneralRe: DestroyWindow() and delete Pin
User 66583-Apr-03 4:36
User 66583-Apr-03 4:36 
GeneralRe: DestroyWindow() and delete Pin
Anonymous3-Apr-03 4:47
Anonymous3-Apr-03 4:47 
GeneralRe: DestroyWindow() and delete Pin
jhwurmbach3-Apr-03 5:16
jhwurmbach3-Apr-03 5:16 
GeneralRe: DestroyWindow() and delete Pin
User 66583-Apr-03 5:46
User 66583-Apr-03 5:46 
GeneralRe: DestroyWindow() and delete Pin
jhwurmbach3-Apr-03 20:02
jhwurmbach3-Apr-03 20:02 
GeneralCTreeCtrl - OnSelChange() Pin
JensB3-Apr-03 3:36
JensB3-Apr-03 3:36 
Hi.
I've created a CTreeCtrl with a root and some subitems,
but want to get the 'psztext' member from a TVITEM struct.

MFC already created a pointer:
void ...::OnSelchangedTreeview(NMHDR* pNMHDR, LRESULT* pResult)
{
NM_TREEVIEW* pNMTreeView = (NM_TREEVIEW*)pNMHDR;

//My Code
CString strText;
strText = (pNMTreeView->itemNew).pszText;
AfxMessageBox(strText);
}

I seem to get really weird ascii code while displaying the CString. Any1 knows what seems to be the problem?


Greetings
Jens
GeneralRe: CTreeCtrl - OnSelChange() Pin
Chris Losinger3-Apr-03 3:41
professionalChris Losinger3-Apr-03 3:41 
GeneralRe: CTreeCtrl - OnSelChange() Pin
JensB3-Apr-03 3:54
JensB3-Apr-03 3:54 
GeneralRe: CTreeCtrl - OnSelChange() Pin
Alvaro Mendez3-Apr-03 6:02
Alvaro Mendez3-Apr-03 6:02 
GeneralRe: CTreeCtrl - OnSelChange() Pin
JensB3-Apr-03 19:43
JensB3-Apr-03 19:43 
GeneralGlobalAlloc fails! Pin
Justin Hallet3-Apr-03 3:17
Justin Hallet3-Apr-03 3:17 
GeneralRe: GlobalAlloc fails! Pin
Chris Losinger3-Apr-03 3:25
professionalChris Losinger3-Apr-03 3:25 
GeneralRe: GlobalAlloc fails! Pin
Justin Hallet3-Apr-03 3:30
Justin Hallet3-Apr-03 3:30 
GeneralRe: GlobalAlloc fails! Pin
Chris Losinger3-Apr-03 3:39
professionalChris Losinger3-Apr-03 3:39 
GeneralRe: GlobalAlloc fails! Pin
Justin Hallet3-Apr-03 3:46
Justin Hallet3-Apr-03 3:46 
GeneralSW_SHOW, HIDE Pin
ns3-Apr-03 3:11
ns3-Apr-03 3:11 
GeneralRe: SW_SHOW, HIDE Pin
Chris Losinger3-Apr-03 3:19
professionalChris Losinger3-Apr-03 3:19 
GeneralI did look with find in files.... Pin
ns3-Apr-03 3:27
ns3-Apr-03 3:27 
GeneralVery Hard Frame/view/doc question! Pin
zhangyifei3-Apr-03 2:29
zhangyifei3-Apr-03 2:29 
GeneralRe: Very Hard Frame/view/doc question! Pin
SchmoBoy3-Apr-03 4:41
SchmoBoy3-Apr-03 4:41 
GeneralRe: Very Hard Frame/view/doc question! Pin
zhangyifei3-Apr-03 20:49
zhangyifei3-Apr-03 20:49 
GeneralQuestion about hooking APIs Pin
codeant3-Apr-03 2:29
codeant3-Apr-03 2:29 
GeneralRe: Question about hooking APIs Pin
User 66583-Apr-03 3:06
User 66583-Apr-03 3:06 

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.