Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Bmp Pin
dodoxor27-May-07 23:59
dodoxor27-May-07 23:59 
AnswerRe: Bmp Pin
Mark Salsbery28-May-07 6:38
Mark Salsbery28-May-07 6:38 
QuestionRe: Bmp Pin
dodoxor28-May-07 22:03
dodoxor28-May-07 22:03 
QuestionHow to do a listbox that have columns in different width? Pin
Chen-XuNuo26-May-07 22:26
Chen-XuNuo26-May-07 22:26 
AnswerRe: How to do a listbox that have columns in different width? Pin
Anurag Gandhi26-May-07 22:42
professionalAnurag Gandhi26-May-07 22:42 
GeneralRe: How to do a listbox that have columns in different width? Pin
Chen-XuNuo27-May-07 2:14
Chen-XuNuo27-May-07 2:14 
AnswerRe: How to do a listbox that have columns in different width? Pin
Hamid_RT28-May-07 8:34
Hamid_RT28-May-07 8:34 
Questionresizing a group box control during runtime Pin
SWDevil26-May-07 22:01
SWDevil26-May-07 22:01 
I would like to resize a group box control during run-time (for instance in the OnInitDialog function). I only need to change it's height (make it smaller).
How can I do this?

I tried the following (which didn't work..):

CRect rect;
GetDlgItem(IDC_STATIC_GRP_SEARCH)->GetClientRect(rect);
rect.SetRect(11,280,66,280);
rect.DeflateRect(0,0,0,rect.Height()-50);

SetRect did not work so I tried using DeflateRect - and that also did not work.

Please help...
AnswerRe: resizing a group box control during runtime Pin
Michael Dunn26-May-07 22:20
sitebuilderMichael Dunn26-May-07 22:20 
AnswerRe: resizing a group box control during runtime Pin
Arman S.27-May-07 1:42
Arman S.27-May-07 1:42 
AnswerRe: resizing a group box control during runtime Pin
SWDevil27-May-07 2:15
SWDevil27-May-07 2:15 
GeneralRe: resizing a group box control during runtime Pin
Arman S.27-May-07 3:06
Arman S.27-May-07 3:06 
QuestionOwner-drawn menu bar Pin
Perspx26-May-07 21:59
Perspx26-May-07 21:59 
AnswerRe: Owner-drawn menu bar Pin
Anurag Gandhi26-May-07 22:10
professionalAnurag Gandhi26-May-07 22:10 
GeneralRe: Owner-drawn menu bar Pin
Perspx26-May-07 22:26
Perspx26-May-07 22:26 
QuestionBitmap bits Pin
bankai12326-May-07 21:35
bankai12326-May-07 21:35 
AnswerRe: Bitmap bits Pin
Chris Losinger27-May-07 5:10
professionalChris Losinger27-May-07 5:10 
QuestionHow to add menu when right click at client area? Pin
Max++26-May-07 20:23
Max++26-May-07 20:23 
AnswerRe: How to add menu when right click at client area? Pin
Anurag Gandhi26-May-07 22:08
professionalAnurag Gandhi26-May-07 22:08 
QuestionASSERT(m_pCtrlSite == NULL) error on activex addition Pin
shivditya26-May-07 18:59
shivditya26-May-07 18:59 
AnswerRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
Garth J Lancaster27-May-07 0:34
professionalGarth J Lancaster27-May-07 0:34 
QuestionRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
shivditya27-May-07 5:22
shivditya27-May-07 5:22 
AnswerRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
Garth J Lancaster27-May-07 12:15
professionalGarth J Lancaster27-May-07 12:15 
QuestionRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
shivditya27-May-07 16:56
shivditya27-May-07 16:56 
AnswerRe: ASSERT(m_pCtrlSite == NULL) error on activex addition Pin
Garth J Lancaster27-May-07 17:13
professionalGarth J Lancaster27-May-07 17:13 

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.