Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Problem with CExtRadioButton and DDX_Radio Collapse All
Subject Author Date
Dmitry Dulepov Aug 3, 2004 - 12:37 PM

MFC asserts inside DDX_Radio on the line that says:


ASSERT(::SendMessage(hWndCtrl, WM_GETDLGCODE, 0, 0L) & DLGC_RADIOBUTTON);


and skips all other radio buttons because they also do not return DLGC_RADIOBUTTON. I checked ExtButton.cpp, PresubclassWindow clears type styles and Windows cannot return proper control code...


Please, fix this in the next release.

Dmitry Dulepov Aug 3, 2004 - 12:50 PM

Button does not become checked in a call to SendMessage(hWndButton, BM_SETCHECK, 1, 0)... I fixed the previous problem but DDX_Radio still does not work.

Technical Support Aug 5, 2004 - 9:39 AM

We cannot confirm this bug. We used CButton::SetCheck method which performs the same and did not find any problems. Please send us your test project.