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

C / C++ / MFC

 
GeneralRe: resize problem????????????? Pin
mimimimilaw4-Jul-06 20:11
mimimimilaw4-Jul-06 20:11 
GeneralRe: resize problem????????????? Pin
_AnsHUMAN_ 4-Jul-06 20:15
_AnsHUMAN_ 4-Jul-06 20:15 
GeneralRe: resize problem????????????? Pin
mimimimilaw4-Jul-06 21:11
mimimimilaw4-Jul-06 21:11 
GeneralRe: resize problem????????????? Pin
Hamid_RT4-Jul-06 20:20
Hamid_RT4-Jul-06 20:20 
QuestionFormat specifier for WORD Pin
RockyJames4-Jul-06 18:05
RockyJames4-Jul-06 18:05 
AnswerRe: Format specifier for WORD Pin
_AnsHUMAN_ 4-Jul-06 18:16
_AnsHUMAN_ 4-Jul-06 18:16 
AnswerRe: Format specifier for WORD Pin
traapons4-Jul-06 21:52
traapons4-Jul-06 21:52 
Questionownerdraw round button question Pin
HOW WHAT4-Jul-06 18:02
HOW WHAT4-Jul-06 18:02 
I create a CMyButton and handled WM_SIZE

void CMyButton::OnSize(...)<br />
{<br />
	CButton::OnSize(...);<br />
<br />
	CRect rect;<br />
	GetClientRect(rect);<br />
<br />
	m_rgn.DeleteObject(); <br />
	SetWindowRgn(NULL, FALSE);<br />
	m_rgn.CreateEllipticRgnIndirect(rect);<br />
	SetWindowRgn(m_rgn, TRUE);<br />
<br />
}


But when the button size changed, round size not change, why?

Thanks.
AnswerRe: ownerdraw round button question Pin
_AnsHUMAN_ 4-Jul-06 18:12
_AnsHUMAN_ 4-Jul-06 18:12 
GeneralRe: ownerdraw round button question Pin
HOW WHAT4-Jul-06 19:17
HOW WHAT4-Jul-06 19:17 
GeneralRe: ownerdraw round button question Pin
_AnsHUMAN_ 4-Jul-06 19:29
_AnsHUMAN_ 4-Jul-06 19:29 
GeneralRe: ownerdraw round button question Pin
HOW WHAT4-Jul-06 19:45
HOW WHAT4-Jul-06 19:45 
AnswerRe: ownerdraw round button question Pin
_AnsHUMAN_ 4-Jul-06 19:56
_AnsHUMAN_ 4-Jul-06 19:56 
GeneralRe: ownerdraw round button question Pin
Hamid_RT4-Jul-06 20:00
Hamid_RT4-Jul-06 20:00 
GeneralRe: ownerdraw round button question Pin
HOW WHAT4-Jul-06 20:38
HOW WHAT4-Jul-06 20:38 
AnswerRe: ownerdraw round button question Pin
eli150219794-Jul-06 21:08
eli150219794-Jul-06 21:08 
GeneralRe: ownerdraw round button question Pin
HOW WHAT4-Jul-06 21:16
HOW WHAT4-Jul-06 21:16 
Questioncombobox editing Pin
Ram Murali4-Jul-06 17:39
Ram Murali4-Jul-06 17:39 
AnswerRe: combobox editing Pin
FarPointer4-Jul-06 17:59
FarPointer4-Jul-06 17:59 
AnswerRe: combobox editing Pin
see me4-Jul-06 18:00
see me4-Jul-06 18:00 
Questionsending and receiving float Pin
thathvamsi4-Jul-06 16:54
thathvamsi4-Jul-06 16:54 
AnswerRe: sending and receiving float Pin
Nibu babu thomas4-Jul-06 17:23
Nibu babu thomas4-Jul-06 17:23 
GeneralRe: sending and receiving float Pin
thathvamsi4-Jul-06 20:34
thathvamsi4-Jul-06 20:34 
AnswerRe: sending and receiving float Pin
Jörgen Sigvardsson4-Jul-06 23:48
Jörgen Sigvardsson4-Jul-06 23:48 
Questionc control list Pin
kamalesh824-Jul-06 16:34
kamalesh824-Jul-06 16:34 

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.