Click here to Skip to main content
15,891,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: For add-in developers Pin
Ancient Dragon11-Jul-02 16:15
Ancient Dragon11-Jul-02 16:15 
GeneralWin2000 Print Dialog Pin
jerry0davis11-Jul-02 4:38
jerry0davis11-Jul-02 4:38 
GeneralDrawing lines On A Control Pin
sanskypotov11-Jul-02 3:37
sanskypotov11-Jul-02 3:37 
GeneralRe: Drawing lines On A Control Pin
Rage11-Jul-02 3:40
professionalRage11-Jul-02 3:40 
GeneralEasy OO question Pin
Jason Hooper11-Jul-02 3:17
Jason Hooper11-Jul-02 3:17 
GeneralRe: Easy OO question Pin
Fred D.11-Jul-02 3:20
Fred D.11-Jul-02 3:20 
GeneralRe: Easy OO question Pin
Rage11-Jul-02 3:35
professionalRage11-Jul-02 3:35 
QuestionHow can I get a cWnd value? Pin
SnapRick11-Jul-02 3:15
SnapRick11-Jul-02 3:15 
I need to retrieve the value from a cWnd that has the focus, The value I need is m_pTypes, which is an unsigned char* value. I using the following code:

CWnd * pWnd = GetActiveWindow();
pWnd = GetFocus();

In debug mode I see the following values:
- pWnd 0x00aeea50 {CListCtrlEx hWnd=0x00000240}
- [CListCtrlEx] {CListCtrlEx hWnd=0x00000240}
+ CListCtrl {CListCtrl hWnd=0x00000240}
m_nHighlight 2
m_bSort 1 ''
m_nViewType 0
m_overAmount 1162299716
+ m_pTypes 0x00ea12d0 "ýýýýÝÝÝÝÝÝÝÝÝÝÝÝÝA"
m_nNumCols 7
+ m_ctStart {...}
+ m_headerctrl {CNewHeaderCtrl hWnd=0x00000224}
+ m_cImageList {CImageList}


How Can I retrieve that value?

Any help would be greatly appreciated.




Thank-you
Sincerely,
RAH
AnswerRe: How can I get a cWnd value? Pin
Rage11-Jul-02 3:30
professionalRage11-Jul-02 3:30 
GeneralRe: How can I get a cWnd value? Pin
l a u r e n11-Jul-02 7:13
l a u r e n11-Jul-02 7:13 
GeneralRe: How can I get a cWnd value? Pin
SnapRick11-Jul-02 8:16
SnapRick11-Jul-02 8:16 
GeneralRe: How can I get a cWnd value? Pin
Rage11-Jul-02 23:15
professionalRage11-Jul-02 23:15 
GeneralRe: How can I get a cWnd value? Pin
SnapRick12-Jul-02 3:25
SnapRick12-Jul-02 3:25 
GeneralAT command Pin
moran kaye11-Jul-02 2:35
sussmoran kaye11-Jul-02 2:35 
GeneralRe: AT command Pin
Fred D.11-Jul-02 3:16
Fred D.11-Jul-02 3:16 
GeneralRe: AT command Pin
Brian Azzopardi11-Jul-02 3:48
Brian Azzopardi11-Jul-02 3:48 
GeneralNewbie struggling with makefile and linker Pin
Janine11-Jul-02 1:58
Janine11-Jul-02 1:58 
GeneralRe: Newbie struggling with makefile and linker Pin
Rage11-Jul-02 3:37
professionalRage11-Jul-02 3:37 
GeneralRe: Newbie struggling with makefile and linker Pin
Janine11-Jul-02 4:02
Janine11-Jul-02 4:02 
GeneralRe: Newbie struggling with makefile and linker Pin
Bill Wilson11-Jul-02 12:01
Bill Wilson11-Jul-02 12:01 
QuestionHow to cut MPEG files? Pin
RichardWdy11-Jul-02 1:29
RichardWdy11-Jul-02 1:29 
AnswerRe: How to cut MPEG files? Pin
Mike Nordell11-Jul-02 1:31
Mike Nordell11-Jul-02 1:31 
GeneralRe: How to cut MPEG files? Pin
RichardWdy11-Jul-02 1:49
RichardWdy11-Jul-02 1:49 
GeneralRe: How to cut MPEG files? Pin
Mike Nordell11-Jul-02 10:56
Mike Nordell11-Jul-02 10:56 
GeneralCan't install Platform SDK Pin
User 665810-Jul-02 23:35
User 665810-Jul-02 23:35 

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.