Click here to Skip to main content
15,907,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how to parse non string data Pin
David Crow30-Apr-07 4:12
David Crow30-Apr-07 4:12 
AnswerRe: how to parse non string data Pin
Arris7430-Apr-07 4:57
Arris7430-Apr-07 4:57 
GeneralRe: how to parse non string data Pin
CPallini30-Apr-07 5:24
mveCPallini30-Apr-07 5:24 
GeneralRe: how to parse non string data Pin
David Crow30-Apr-07 5:42
David Crow30-Apr-07 5:42 
GeneralRe: how to parse non string data Pin
CPallini30-Apr-07 7:26
mveCPallini30-Apr-07 7:26 
GeneralRe: how to parse non string data Pin
Arris7430-Apr-07 5:54
Arris7430-Apr-07 5:54 
GeneralRe: how to parse non string data Pin
CPallini30-Apr-07 7:28
mveCPallini30-Apr-07 7:28 
QuestionOwner draw Radio button event Handling Pin
Shailesh Namjoshi30-Apr-07 3:37
Shailesh Namjoshi30-Apr-07 3:37 
I am using CMyBclass(for eg) derived from CButton Class from MFC and using DrawItem method for drawing own child controls.Except radiobuttons everthing is perfect till the time....but the thing is i am getting the controls drawn on a window perfectly....now i am getting the problem in handling that....i.e.I need to handle the radio button events ....CHECKED and UNCHECKED.....

....for that i need a Handle of Parent window...

I have options of GetParent() method...I am using like this....

CWnd *p =GetParent(); from where i am getting the handle of that....i want the functionality of radiobuttons to be in my derived class so i am doingn that....



Can Any one find the solution of controlling the radio button in derived class so that event handling can be done in that only....



This is what i am trying to get that handle//....



CWnd *pChild = NULL;

for (pChild=GetWindow(GW_CHILD); pChild; pChild=GetWindow(GW_HWNDNEXT))

{

if (pChild == pBtn)

{

((CRadioButtonEx *)pChild)->SetCheckStatus(false);

((CRadioButtonEx *)pChild)->Invalidate(TRUE);

}

}
Basically m derived class should able to handle the Events associated with the radio buttons....

Can any one know the solution....

Shailesh



QuestionHow to hook WM_MOUSEHOVER and WM_NCMOUSEHOVER? [modified] Pin
uckf60930-Apr-07 3:10
uckf60930-Apr-07 3:10 
AnswerRe: How to hook WM_MOUSEHOVER and WM_NCMOUSEHOVER? Pin
lihai42529-Nov-09 21:01
lihai42529-Nov-09 21:01 
QuestionDownloading file from http Pin
deeps_cute30-Apr-07 3:06
deeps_cute30-Apr-07 3:06 
AnswerRe: Downloading file from http Pin
kakan30-Apr-07 3:25
professionalkakan30-Apr-07 3:25 
AnswerRe: Downloading file from http Pin
near2world30-Apr-07 3:29
near2world30-Apr-07 3:29 
GeneralRe: Downloading file from http Pin
deeps_cute30-Apr-07 3:33
deeps_cute30-Apr-07 3:33 
AnswerRe: Downloading file from http Pin
Ravi Bhavnani30-Apr-07 3:37
professionalRavi Bhavnani30-Apr-07 3:37 
GeneralRe: Downloading file from http Pin
near2world1-May-07 0:26
near2world1-May-07 0:26 
QuestionAPIs to get the deive information Pin
sheela Rajaram30-Apr-07 3:05
sheela Rajaram30-Apr-07 3:05 
QuestionStrange Problems with Memory- and Object-Access Pin
J. Holzer30-Apr-07 2:39
J. Holzer30-Apr-07 2:39 
AnswerRe: Strange Problems with Memory- and Object-Access Pin
kakan30-Apr-07 2:49
professionalkakan30-Apr-07 2:49 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
J. Holzer30-Apr-07 2:51
J. Holzer30-Apr-07 2:51 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
kakan30-Apr-07 2:55
professionalkakan30-Apr-07 2:55 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
J. Holzer30-Apr-07 3:39
J. Holzer30-Apr-07 3:39 
GeneralRe: Strange Problems with Memory- and Object-Access Pin
kakan30-Apr-07 3:52
professionalkakan30-Apr-07 3:52 
QuestionIf particular machine is active or not on a LAN Pin
Mushtaque Nizamani30-Apr-07 2:13
Mushtaque Nizamani30-Apr-07 2:13 
AnswerRe: If particular machine is active or not on a LAN Pin
kakan30-Apr-07 2:29
professionalkakan30-Apr-07 2:29 

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.